AddStructureExplicitTargetDefinitionRequest
Permission:AddStructureExplicitTargetDefinitionRequest
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. |
MultipleRecordsFound |
Critical |
10010004 |
Multiple records exist for the specified identifier. |
The following is an XML example of the AddStructureExplicitTargetDefinitionRequest sent to the
Lists.AddTargets 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:AddTargets xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ns:request i:type="a:AddStructureExplicitTargetDefinitionRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/List">
<a:Period i:type="b:TargetPeriodIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:TargetPeriodId>9999</b:TargetPeriodId>
</a:Period>
<a:Group i:type="b:TargetGroupIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:TargetGroupId>9999</b:TargetGroupId>
</a:Group>
<a:Structure i:type="b:StructureIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:StructureId>1234</b:StructureId>
</a:Structure>
<a:DefinitionData i:nil="true" xmlns:b="http://schemas.gallup.com/oms/2010/10/Models" />
</ns:request>
</ns:AddTargets>
</soapenv:Body>
</soapenv:Envelope>