POST api/zns-message/send-otp
Request Information
URI Parameters
None.
Body Parameters
OTP| Name | Description | Type | Additional information |
|---|---|---|---|
| otp | string |
None. |
|
| customer_mobile | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"otp": "sample string 1",
"customer_mobile": "sample string 2"
}
application/xml, text/xml
Sample:
<OTP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MB.ZNS.API.Models.Template"> <customer_mobile>sample string 2</customer_mobile> <otp>sample string 1</otp> </OTP>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
|
| errorCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": {},
"errorCode": 4
}
application/xml, text/xml
Sample:
<JsonResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MB.ZNS.API.Models"> <data /> <errorCode>4</errorCode> <message>sample string 2</message> <status>true</status> </JsonResponseModel>