POST api/SendOTP
Request Information
URI Parameters
None.
Body Parameters
SMS| Name | Description | Type | Additional information |
|---|---|---|---|
| SENDER | string |
Required Matching regular expression pattern: ^[a-zA-Z]+$ String length: inclusive between 3 and 10 |
|
| MOBILENO | string |
Required Matching regular expression pattern: ^([0-9]{10})$ |
|
| MESSAGETEXT | string |
Required String length: inclusive between 5 and 1000 |
Request Formats
application/json, text/json
Sample:
{
"SENDER": "sample string 1",
"MOBILENO": "sample string 2",
"MESSAGETEXT": "sample string 3"
}
application/xml, text/xml
Sample:
<SMS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuikE_WebAPI.Models"> <MESSAGETEXT>sample string 3</MESSAGETEXT> <MOBILENO>sample string 2</MOBILENO> <SENDER>sample string 1</SENDER> </SMS>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |