GetDirectPeopleByUnitAndStructurePrivilegeRequest
Permission:GetEditionDirectPeopleByUnitAndStructurePrivilegeRequest
Exception |
Severity |
Code |
Condition |
ArgumentMissing |
Critical |
10010001 |
A required request input has not been specified. |
IdentifierDoesNotExist |
Critical |
10010002 |
Specified unit interaction or structure privilege does not exist in client. |
MultipleRecordsFound |
Critical |
10010004 |
Multiple records found for the identifier. |
RelationshipNotFound |
Critical |
10060002 |
Specified unit interaction does not exist in the edition. |
The following is an XML example of the GetDirectPeopleByUnitAndStructurePrivilegeRequest sent to the
Editions.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:GetDirectPeopleByUnitAndStructurePrivilegeRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Edition">
<a:Edition i:type="b:EditionIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:EditionId>1234</b:EditionId>
</a:Edition>
<a:Unit i:type="b:UnitInteractionIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:InteractionId>1234</b:InteractionId>
</a:Unit>
<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:GetPeople>
</soapenv:Body>
</soapenv:Envelope>