GetParentUnitsInClientByPersonAndStructurePrivilegeRequest
Gets the Parent Business Unit where the Child (Membership) and StructurePrivilege are passed in.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| Child | MembershipIdentifier | 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 in client. |
| RelationshipNotFound | Critical | 10060002 | The person does not exist in any edition. |
Examples
The following is an XML example of the GetParentUnitsInClientByPersonAndStructurePrivilegeRequest 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:GetParentUnitsInClientByPersonAndStructurePrivilegeRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Edition">
<a:Child i:type="b:MembershipIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:MembershipId>1234</b:MembershipId>
</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>