GetChildCountsByUnitsRequest

October2010

Returns a count of all child Units for the given Units.

Service:Structures
Method:GetCounts
Permission:GetChildCountsByUnitsRequest

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>

[PRINT]© Gallup, Inc. All Rights Reserved. All information contained on this site is the property of Gallup and contains proprietary trade secrets of Gallup. This information is confidential and protected under the confidentiality agreements signed by each Gallup employee, and is to be used solely by Gallup employees in the performance of their responsibilities. None of the information contained in this site is to be copied, viewed, forwarded, downloaded or shred outside of Gallup without permission.

© Gallup, Inc. All Rights Reserved. All information contained on this site is the property of Gallup and contains proprietary trade secrets of Gallup. This information is confidential and protected under the confidentiality agreements signed by each Gallup employee, and is to be used solely by Gallup employees in the performance of their responsibilities. None of the information contained in this site is to be copied, viewed, forwarded, downloaded or shred outside of Gallup without permission.