POST api/Customer/Registration/2/OTPVerification?Signature={Signature}&Language={Language}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Signature

string

Required

Language

API.LANGUAGE

Default value is en_US

Body Parameters

Requests.Customers.Registrations.OTPVerification
NameDescriptionTypeAdditional information
ClientCode

string

None.

DateTime

date

None.

Content

Forms.Registrations.EmailAddressAndMobilePhoneNumberOTP

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientCode": "sample string 1",
  "DateTime": "2024-11-18T12:43:19.185766+08:00",
  "Content": {
    "CustomerRegistrationID": 1,
    "EmailAddressOTP": "sample string 2",
    "MobilePhoneNumberOTP": "sample string 3"
  }
}

text/html

Sample:
{"ClientCode":"sample string 1","DateTime":"2024-11-18T12:43:19.185766+08:00","Content":{"CustomerRegistrationID":1,"EmailAddressOTP":"sample string 2","MobilePhoneNumberOTP":"sample string 3"}}

application/xml, text/xml

Sample:
<OTPVerification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code.Requests.Customers.Registrations">
  <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.Registrations" xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code">
    <d2p1:CustomerRegistrationID>1</d2p1:CustomerRegistrationID>
    <d2p1:EmailAddressOTP>sample string 2</d2p1:EmailAddressOTP>
    <d2p1:MobilePhoneNumberOTP>sample string 3</d2p1:MobilePhoneNumberOTP>
  </Content>
  <DateTime xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code">2024-11-18T12:43:19.185766+08:00</DateTime>
</OTPVerification>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Responses.Customers.Registrations.OTPVerification
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

Messages

Collection of Models.Message

None.

ClientCode

string

None.

DateTime

date

None.

Content

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "Messages": [],
  "ClientCode": "sample string 2",
  "DateTime": "2024-11-18T12:43:19.2013898+08:00",
  "Content": {}
}

text/html

Sample:
{"IsSuccessful":true,"Messages":[],"ClientCode":"sample string 2","DateTime":"2024-11-18T12:43:19.2013898+08:00","Content":{}}

application/xml, text/xml

Sample:
<OTPVerification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code.Responses.Customers.Registrations">
  <ClientCode xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code">sample string 2</ClientCode>
  <Content xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code" />
  <DateTime xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code">2024-11-18T12:43:19.2013898+08:00</DateTime>
  <IsSuccessful xmlns="http://schemas.datacontract.org/2004/07/CBSS_API.App_Code.Responses">true</IsSuccessful>
</OTPVerification>