POST api/Customer/ChangeEmailAddress/1/PasswordAndNewEmailAddress?Signature={Signature}&Language={Language}
[1] Will require the customer's current password and the new email address. If successful, CBSS will send an OTP email to the new email address.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Signature |
SHA256(Body + Client_Key + Login_Salt) |
string |
Required |
Language | API.LANGUAGE |
Default value is en_US |
Body Parameters
Requests.Customers.ChangeEmailAddresses.PasswordAndNewEmailAddressName | Description | Type | Additional information |
---|---|---|---|
ClientCode | string |
None. |
|
DateTime | date |
None. |
|
Content | Forms.Customers.ChangeEmailAddresses.PasswordAndNewEmailAddress |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientCode": "sample string 1", "DateTime": "2024-11-18T11:26:29.2984772+08:00", "Content": { "Identity": null, "Password": "sample string 1", "NewEmailAddress": "sample string 2" } }
text/html
Sample:
{"ClientCode":"sample string 1","DateTime":"2024-11-18T11:26:29.2984772+08:00","Content":{"Identity":null,"Password":"sample string 1","NewEmailAddress":"sample string 2"}}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Responses.Customers.ChangeEmailAddresses.PasswordAndNewEmailAdressName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
Messages | Collection of Models.Message |
None. |
|
ClientCode | string |
None. |
|
DateTime | date |
None. |
|
Content | Models.Customers.ChangeEmailAddress |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "Messages": [], "ClientCode": "sample string 2", "DateTime": "2024-11-18T11:26:29.3766147+08:00", "Content": null }
text/html
Sample:
{"IsSuccessful":true,"Messages":[],"ClientCode":"sample string 2","DateTime":"2024-11-18T11:26:29.3766147+08:00","Content":null}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.