UpdateClientRequest
Updates data for a Client record using the data that is passed in.
Properties
Name | Type | Required | Description |
---|---|---|---|
Client | ClientIdentifier | Required | |
ClientData | ClientUpdateData | Required |
Exceptions
Exception | Severity | Code | Condition |
---|---|---|---|
ArgumentMissing | Critical | 10010001 | A required request input has not been specified. |
IdentifierDoesNotExist | Critical | 10010002 | The specified client identifier does not exist. |
MultipleRecordsFound | Critical | 10010004 | Multiple records found for the identifier. |
IndustryCannotBeChanged | Critical | 10040006 | Industry cannot be changed. |
Examples
The following is an XML example of the UpdateClientRequest sent to the Clients.Update 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:Update xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <ns:request i:type="a:UpdateClientRequest" 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:ClientData i:nil="true" xmlns:b="http://schemas.gallup.com/oms/2010/10/Models" /> </ns:request> </ns:Update> </soapenv:Body> </soapenv:Envelope>