GetParentUnitsInEditionsByPersonAndStructurePrivilegeRequest
Gets the Parent Business Unit(s) in all Structures within the Edition(s) identified by the Child where the child has the StructurePrivilege that is passed in.
Properties
| Name | Type | Required | Description | 
|---|---|---|---|
| Editions | EditionBulkIdentifier | Required | |
| Child | PersonIdentifier | Required | |
| StructurePrivilege | StructurePrivilegeIdentifier | Required | 
Exceptions
| Exception | Severity | Code | Condition | 
|---|---|---|---|
| ArgumentMissing | Critical | 10010001 | A required request input has not been specified. | 
| IdentifierDoesNotExist | Critical | 10010002 | Specified identifier does not exist. | 
| DuplicateInputFound | Critical | 10010015 | Duplicate input was found. | 
| RelationshipNotFound | Critical | 10060002 | Specified unit interaction does not exist in the edition(s). | 
Examples
The following is an XML example of the GetParentUnitsInEditionsByPersonAndStructurePrivilegeRequest sent to the Editions.GetUnits method.
<soapenv:Envelope xmlns:ns="http://schemas.gallup.com/oms/2010/10/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Header />
  <soapenv:Body>
    <ns:GetUnits xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <ns:request i:type="a:GetParentUnitsInEditionsByPersonAndStructurePrivilegeRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Edition">
        <a:Editions i:type="b:EditionBulkIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
          <b:EditionIds i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
        </a:Editions>
        <a:Child i:type="b:PersonIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
          <b:PersonId>1</b:PersonId>
        </a:Child>
        <a:StructurePrivilege i:type="b:StructurePrivilegeIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
          <b:StructurePrivilegeId>3</b:StructurePrivilegeId>
        </a:StructurePrivilege>
      </ns:request>
    </ns:GetUnits>
  </soapenv:Body>
</soapenv:Envelope>