GetDirectPeopleByUnitRequest
Permission:GetDirectPeopleByUnitRequest
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 unit interaction does not exist in the structure. |
The following is an XML example of the GetDirectPeopleByUnitRequest sent to the
Structures.GetPeople 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:GetPeople xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ns:request i:type="a:GetDirectPeopleByUnitRequest" 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:Unit i:type="b:UnitInteractionIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:InteractionId>1234</b:InteractionId>
</a:Unit>
</ns:request>
</ns:GetPeople>
</soapenv:Body>
</soapenv:Envelope>