POST api/otp/request
Request Information
URI Parameters
None.
Body Parameters
OtpRequestRequestDtoName | Description | Type | Additional information |
---|---|---|---|
countryCode | string |
Required |
|
phoneNo | string |
Required |
|
language | SmsLanguage |
Required |
|
purpose | OtpPurpose |
Required |
Request Formats
application/json, text/json
Sample:
{ "countryCode": "sample string 1", "phoneNo": "sample string 2", "language": "zh-hk", "purpose": "login" }
application/xml, text/xml
Sample:
<OtpRequestRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cash_Bet_Digitalization.Models"> <CountryCode>sample string 1</CountryCode> <Language>Chinese</Language> <PhoneNumber>sample string 2</PhoneNumber> <Purpose>Login</Purpose> </OtpRequestRequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.