GetParentUnitsByUnitsTraverseUpRequest
Gets all the Parent Business Units for the Units identified while traversing up the tree.
Properties
Name | Type | Required | Description |
---|---|---|---|
Structure | StructureIdentifier | Required | |
Units | UnitInteractionBulkIdentifier | 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 GetParentUnitsByUnitsTraverseUpRequest 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:GetParentUnitsByUnitsTraverseUpRequest" 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:UnitInteractionBulkIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers"> <b:InteractionIds i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> </a:Units> </ns:request> </ns:GetUnits> </soapenv:Body> </soapenv:Envelope>