AddStructurePrivilegeRequest
Permission:AddPersonStructurePrivilegeRequest
Exception |
Severity |
Code |
Condition |
ArgumentMissing |
Critical |
10010001 |
A required request input has not been specified. |
IdentifierDoesNotExist |
Critical |
10010002 |
One or more of the specified identifiers does not exist. |
MultipleRecordsFound |
Critical |
10010004 |
Multiple records exist for the specified identifier. |
DataNotFound |
Critical |
10010006 |
The membership interaction for the structure does not exist in the list. |
RecordAlreadyExists |
Critical |
10010009 |
The child already exists in the structure. |
InvalidPrivilege |
Critical |
10020015 |
The specified structure privilege is not valid. |
RelationshipNotFound |
Critical |
10060002 |
The specified unit interaction identifier does not exist in the structure. |
RootNodeTampering |
Critical |
10130001 |
The unit interaction identifier is the root node and it cannot be changed. |
The following is an XML example of the AddStructurePrivilegeRequest sent to the
People.AddPrivilege 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:AddPrivilege xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ns:request i:type="a:AddStructurePrivilegeRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/People">
<a:Person i:type="b:InteractionIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:InteractionId>1234</b:InteractionId>
</a:Person>
<a:StructurePrivilege i:type="b:StructurePrivilegeIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:StructurePrivilegeId>3</b:StructurePrivilegeId>
</a:StructurePrivilege>
<a:Structure i:type="b:StructureIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:StructureId>1234</b:StructureId>
</a:Structure>
<a:Parent i:type="b:UnitInteractionIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:InteractionId>1234</b:InteractionId>
</a:Parent>
</ns:request>
</ns:AddPrivilege>
</soapenv:Body>
</soapenv:Envelope>