POST api/sendotp
Request Information
URI Parameters
None.
Body Parameters
SendOTP_Model| Name | Description | Type | Additional information |
|---|---|---|---|
| EmailId | string |
None. |
|
| MobileNumber | string |
None. |
|
| Mobile | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmailId": "sample string 1",
"MobileNumber": "sample string 2",
"Mobile": "sample string 3"
}
application/xml, text/xml
Sample:
<SendOTP_Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GasPaymentAPI.Models"> <EmailId>sample string 1</EmailId> <Mobile>sample string 3</Mobile> <MobileNumber>sample string 2</MobileNumber> </SendOTP_Model>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OutputMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| STATUS | string |
None. |
|
| MSG | string |
None. |
|
| ERRORCODE | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"STATUS": "sample string 1",
"MSG": "sample string 2",
"ERRORCODE": "sample string 3"
}
application/xml, text/xml
Sample:
<OutputMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GasPaymentAPI.Models"> <ERRORCODE>sample string 3</ERRORCODE> <MSG>sample string 2</MSG> <STATUS>sample string 1</STATUS> </OutputMessage>