GetParentUnitsByPersonRequest
Permission:GetParentUnitsByPersonRequest
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 |
Specified child unit does not exist in the edition. |
The following is an XML example of the GetParentUnitsByPersonRequest sent to the
Structures.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:GetParentUnitsByPersonRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Structure">
<a:Structure i:type="b:StructureIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:StructureId>1234</b:StructureId>
</a:Structure>
<a:Child i:type="b:InteractionIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:InteractionId>1234</b:InteractionId>
</a:Child>
<a:RelationshipType i:type="b:RelationshipTypeIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:RelationshipTypeId>3</b:RelationshipTypeId>
</a:RelationshipType>
</ns:request>
</ns:GetUnits>
</soapenv:Body>
</soapenv:Envelope>