POST api/Customer/ForgotUsernamePassword/1/EmailAddressOrMobilePhoneNumber?Signature={Signature}&Language={Language}
[1] Will require the customer's email address or mobile phone number. If successful, CBSS will send an OTP email or SMS to the new email address or 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
CRequests.Customers.ForgotUsernamePassswords.EmailAddressOrMobilePhoneNumberName | Description | Type | Additional information |
---|---|---|---|
ClientCode | string |
None. |
|
DateTime | date |
None. |
|
Content | Forms.Customers.ForgotUsernamePasswords.EmailAddressOrMobilePhoneNumber |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientCode": "sample string 1", "DateTime": "2024-11-18T11:40:49.0749683+08:00", "Content": { "MobilePhoneNumber": "sample string 1", "EmailAddress": "sample string 2" } }
text/html
Sample:
{"ClientCode":"sample string 1","DateTime":"2024-11-18T11:40:49.0749683+08:00","Content":{"MobilePhoneNumber":"sample string 1","EmailAddress":"sample string 2"}}
application/xml, text/xml
Sample:
<EmailAddressOrMobilePhoneNumber xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code.Requests.Customers.ForgotUsernamePassswords"> <ClientCode xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code">sample string 1</ClientCode> <Content xmlns:d2p1="http://schemas.datacontract.org/2004/07/CBSS_API.Forms.Customers.ForgotUsernamePasswords" xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code"> <d2p1:EmailAddress>sample string 2</d2p1:EmailAddress> <d2p1:MobilePhoneNumber>sample string 1</d2p1:MobilePhoneNumber> </Content> <DateTime xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code">2024-11-18T11:40:49.0749683+08:00</DateTime> </EmailAddressOrMobilePhoneNumber>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Responses.Customers.ForgotUsernamePassswords.EmailAddressOrMobilePhoneNumberName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
Messages | Collection of Models.Message |
None. |
|
ClientCode | string |
None. |
|
DateTime | date |
None. |
|
Content | Models.Customers.ForgotUsernamePassword |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "Messages": [], "ClientCode": "sample string 2", "DateTime": "2024-11-18T11:40:49.0905975+08:00", "Content": null }
text/html
Sample:
{"IsSuccessful":true,"Messages":[],"ClientCode":"sample string 2","DateTime":"2024-11-18T11:40:49.0905975+08:00","Content":null}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.