UpdateConsumerEmailRequest
Updates a consumer's email address in the marketing contacts table.
Properties
Name | Type | Required | Description |
---|---|---|---|
OldEmailAddress | String | Required | |
NewEmailAddress | String | Required |
Exceptions
Exception | Severity | Code | Condition |
---|---|---|---|
ArgumentMissing | Critical | 10010001 | A required request input has not been specified. |
ValueMatchesExistingData | NonCritical | 10010005 | Value matches existing data. |
Examples
The following is an XML example of the UpdateConsumerEmailRequest sent to the People.SetPreferences 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:SetPreferences xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <ns:request i:type="a:UpdateConsumerEmailRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/People"> <a:OldEmailAddress>someone@somewhere.com</a:OldEmailAddress> <a:NewEmailAddress>someone@somewhere.com</a:NewEmailAddress> </ns:request> </ns:SetPreferences> </soapenv:Body> </soapenv:Envelope>