POST api/SendOTP
Request Information
URI Parameters
None.
Body Parameters
OTPApiReq| Name | Description | Type | Additional information |
|---|---|---|---|
| deviceId | string |
None. |
|
| appId | string |
None. |
|
| appName | string |
None. |
|
| token | string |
None. |
|
| mobile | string |
None. |
|
| otpId | string |
None. |
|
| otp | string |
None. |
|
| env | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"deviceId": "sample string 1",
"appId": "sample string 2",
"appName": "sample string 3",
"token": "sample string 4",
"mobile": "sample string 5",
"otpId": "sample string 6",
"otp": "sample string 7",
"env": "sample string 8"
}
application/xml, text/xml
Sample:
<OTPApiReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryExpAPI.Models"> <appId>sample string 2</appId> <appName>sample string 3</appName> <deviceId>sample string 1</deviceId> <env>sample string 8</env> <mobile>sample string 5</mobile> <otp>sample string 7</otp> <otpId>sample string 6</otpId> <token>sample string 4</token> </OTPApiReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OTPRes| Name | Description | Type | Additional information |
|---|---|---|---|
| otp | string |
None. |
|
| otpId | string |
None. |
|
| errCode | string |
None. |
|
| errDesc | string |
None. |
|
| errFlag | string |
None. |
|
| token | string |
None. |
|
| recordId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"otp": "sample string 1",
"otpId": "sample string 2",
"errCode": "sample string 3",
"errDesc": "sample string 4",
"errFlag": "sample string 5",
"token": "sample string 6",
"recordId": "sample string 7"
}
application/xml, text/xml
Sample:
<OTPRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryExpAPI.Models"> <errCode>sample string 3</errCode> <errDesc>sample string 4</errDesc> <errFlag>sample string 5</errFlag> <recordId>sample string 7</recordId> <token>sample string 6</token> <otp>sample string 1</otp> <otpId>sample string 2</otpId> </OTPRes>