POST api/Customer/ChangeMobilePhoneNumber/1/PasswordAndNewMobilePhoneNumber?Signature={Signature}&Language={Language}
[1] Will require the customer's current password and the new mobile phone number. If successful, CBSS will send an OTP email to the new mobile phone number.
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.ChangeMobilePhoneNumbers.PasswordAndNewMobilePhoneNumberName | Description | Type | Additional information |
---|---|---|---|
ClientCode | string |
None. |
|
DateTime | date |
None. |
|
Content | Forms.Customers.ChangeMobilePhoneNumbers.PasswordAndNewMobilePhoneNumber |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientCode": "sample string 1", "DateTime": "2024-11-18T11:23:08.6242353+08:00", "Content": { "Identity": null, "Password": "sample string 1", "NewMobilePhoneNumber": "sample string 2" } }
text/html
Sample:
{"ClientCode":"sample string 1","DateTime":"2024-11-18T11:23:08.6242353+08:00","Content":{"Identity":null,"Password":"sample string 1","NewMobilePhoneNumber":"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.ChangeMobilePhoneNumbers.PasswordAndNewMobilePhoneNumberName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
Messages | Collection of Models.Message |
None. |
|
ClientCode | string |
None. |
|
DateTime | date |
None. |
|
Content | Models.Customers.ChangeMobilePhoneNumber |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "Messages": [], "ClientCode": "sample string 2", "DateTime": "2024-11-18T11:23:08.6398642+08:00", "Content": null }
text/html
Sample:
{"IsSuccessful":true,"Messages":[],"ClientCode":"sample string 2","DateTime":"2024-11-18T11:23:08.6398642+08:00","Content":null}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.