AddTargetPeriodRequest
Permission:AddTargetPeriodRequest
Exception |
Severity |
Code |
Condition |
ArgumentMissing |
Critical |
10010001 |
A required request input has not been specified. |
IdentifierDoesNotExist |
Critical |
10010002 |
The Client for Specified Client identifier does not exist. |
MultipleRecordsFound |
Critical |
10010004 |
Multiple records found for the Client identifier. |
InvalidDateRange |
Critical |
10010007 |
Start date is greater than today or end date is greater than start date. |
RecordAlreadyExists |
Critical |
10010009 |
Target group already exists for the specified Client identifier. |
ArgumentExceedsSizeLimit |
Critical |
10010018 |
Client identifier name exceeds the approved size limit. |
The following is an XML example of the AddTargetPeriodRequest sent to the
Clients.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:AddTargetPeriodRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Client">
<a:Client i:type="b:ClientIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:ClientId>1234</b:ClientId>
</a:Client>
<a:Name>My Target Period</a:Name>
<a:PeriodData i:nil="true" xmlns:b="http://schemas.gallup.com/oms/2010/10/Models" />
</ns:request>
</ns:AddTargets>
</soapenv:Body>
</soapenv:Envelope>