GetRollupUnitsByPersonAndStructurePrivilegeRequest
Permission:GetRollupUnitsByPersonAndStructurePrivilegeRequest
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. |
MultipleRecordsFound |
Critical |
10010004 |
Multiple records found for the identifier. |
RelationshipNotFound |
Critical |
10060002 |
Specified unit interaction does not exist in the Structure. |
The following is an XML example of the GetRollupUnitsByPersonAndStructurePrivilegeRequest 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:GetRollupUnitsByPersonAndStructurePrivilegeRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Structure">
<a:Person i:type="b:PersonIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:PersonId>1</b:PersonId>
</a:Person>
<a:Structure i:type="b:StructureIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:StructureId>1234</b:StructureId>
</a:Structure>
<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>