POST api/AccountTieuThuong/XacThucOTP
Xác thá»±c mã OTP
Request Information
URI Parameters
None.
Body Parameters
DangKyTaiKhoanModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PhoneNumber | string |
None. |
|
| OTP | string |
None. |
|
| OTPTime | string |
None. |
|
| OTPTimeApp | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PhoneNumber": "sample string 1",
"OTP": "sample string 2",
"OTPTime": "sample string 3",
"OTPTimeApp": "sample string 4"
}
application/xml, text/xml
Sample:
<DangKyTaiKhoanModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models"> <OTP>sample string 2</OTP> <OTPTime>sample string 3</OTPTime> <OTPTimeApp>sample string 4</OTPTimeApp> <PhoneNumber>sample string 1</PhoneNumber> </DangKyTaiKhoanModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| data | Object |
None. |
|
| page | Object |
None. |
|
| error | ErrorModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"data": {},
"page": {},
"error": {
"message": "sample string 1",
"code": "sample string 2"
}
}
application/xml, text/xml
Sample:
<BaseModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
<data />
<error>
<code>sample string 2</code>
<message>sample string 1</message>
</error>
<page />
<status>1</status>
</BaseModelOfanyType>