POST api/SMS
Receive SMS
Request Information
URI Parameters
None.
Body Parameters
Request body
ReceiveSMSRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PHONE |
Phone number |
string |
None. |
| smsTEXT |
SMS text |
string |
None. |
| smsDATE |
SMS date |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PHONE": "sample string 1",
"smsTEXT": "sample string 2",
"smsDATE": "sample string 3"
}
application/xml, text/xml
Sample:
<ReceiveSMSRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Deufol.CPCNL.API.Controllers"> <PHONE>sample string 1</PHONE> <smsDATE>sample string 3</smsDATE> <smsTEXT>sample string 2</smsTEXT> </ReceiveSMSRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReceiveSMSRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PHONE |
Phone number |
string |
None. |
| smsTEXT |
SMS text |
string |
None. |
| smsDATE |
SMS date |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PHONE": "sample string 1",
"smsTEXT": "sample string 2",
"smsDATE": "sample string 3"
}
application/xml, text/xml
Sample:
<ReceiveSMSRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Deufol.CPCNL.API.Controllers"> <PHONE>sample string 1</PHONE> <smsDATE>sample string 3</smsDATE> <smsTEXT>sample string 2</smsTEXT> </ReceiveSMSRequest>