GetChildCountsByUnitsRequest
Returns a count of all child Units for the given Units.
Properties
Name | Type | Required | Description |
---|---|---|---|
Structure | StructureIdentifier | Required | |
Units | UnitBulkIdentifier | Required |
Exceptions
Exception | Severity | Code | Condition |
---|---|---|---|
ArgumentMissing | Critical | 10010001 | A required request input has not been specified. |
IdentifierDoesNotExist | Critical | 10010002 | The specified membership interaction identifier does not exist. |
DuplicateInputFound | Critical | 10010015 | Duplicate input found in the units identifier. |
RelationshipNotFound | Critical | 10060002 | Specified unit interaction does not exist in the structure. |
Examples
The following is an XML example of the GetChildCountsByUnitsRequest sent to the Structures.GetCounts 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:GetCounts xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <ns:request i:type="a:GetChildCountsByUnitsRequest" 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:Units i:type="b:UnitBulkIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers"> <b:UnitIds i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> </a:Units> </ns:request> </ns:GetCounts> </soapenv:Body> </soapenv:Envelope>