GetRolesByRoleRequest
Permission:GetPersonRolesByRoleRequest
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. |
The following is an XML example of the GetRolesByRoleRequest sent to the
People.GetRoles 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:GetRoles xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ns:request i:type="a:GetRolesByRoleRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/People">
<a:Person i:type="b:PersonIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:PersonId>1</b:PersonId>
</a:Person>
<a:Role i:type="b:RoleIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:RoleId>1234</b:RoleId>
</a:Role>
</ns:request>
</ns:GetRoles>
</soapenv:Body>
</soapenv:Envelope>