UpdateVariableRequest
Permission:UpdateApplicantVariableRequest
Exception |
Severity |
Code |
Condition |
IdentifierDoesNotExist |
Critical |
10010002 |
Specified identifier does not exist. |
MultipleRecordsFound |
Critical |
10010004 |
Multiple records found for the identifier. |
VariableDoesNotExist |
Critical |
10110001 |
Specified variable name does not exist. |
VariableValueNotAllowed |
Critical |
10110002 |
Use of specified variable value is not allowed. |
ValueMatchesExistingData |
NonCritical |
10010005 |
Value provided already exists in the records. |
The following is an XML example of the UpdateVariableRequest sent to the
Applicants.UpdateVariables 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:UpdateVariables xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ns:request i:type="a:UpdateVariableRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Applicant">
<a:Applicant i:type="b:InteractionIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
<b:InteractionId>1234</b:InteractionId>
</a:Applicant>
<a:Variable i:nil="true" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers" />
<a:VariableValue>MyVariableValue</a:VariableValue>
</ns:request>
</ns:UpdateVariables>
</soapenv:Body>
</soapenv:Envelope>