FindUnitsRequest
Determines if the given units are in the given structure.
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. |
Examples
The following is an XML example of the FindUnitsRequest sent to the Structures.FindUnits 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:FindUnits xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ns:request i:type="a:FindUnitsRequest" 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:FindUnits>
</soapenv:Body>
</soapenv:Envelope>