POST api/Customer/UpdateEmail
Request Information
URI Parameters
None.
Body Parameters
UpdateEmailName | Description | Type | Additional information |
---|---|---|---|
PolicyId | integer |
None. |
|
ClientId | integer |
None. |
|
CurrentEmail | string |
Matching regular expression pattern: [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])? |
|
NewEmail | string |
Matching regular expression pattern: [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])? |
|
ImageUrl | string |
None. |
|
SiteCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PolicyId": 1, "ClientId": 2, "CurrentEmail": "sample string 3", "NewEmail": "sample string 4", "ImageUrl": "sample string 5", "SiteCode": "sample string 6" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UpdateEmailResponseName | Description | Type | Additional information |
---|---|---|---|
IsError | boolean |
None. |
|
ErrorCode | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsError": true, "ErrorCode": "sample string 2", "ErrorMessage": "sample string 3" }