POST api/SMS/SendSMS
Request Information
URI Parameters
None.
Body Parameters
SMSTwilioRequestDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| toPhoneNumber | string |
None. |
|
| message | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"toPhoneNumber": "sample string 1",
"message": "sample string 2"
}
text/html
Sample:
{"toPhoneNumber":"sample string 1","message":"sample string 2"}
application/xml, text/xml
Sample:
<SMSTwilioRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InvoiceAPI.DataTransferObjects"> <message>sample string 2</message> <toPhoneNumber>sample string 1</toPhoneNumber> </SMSTwilioRequestDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SMSTwilioResponseDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
|
| description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"description": "sample string 2"
}
text/html
Sample:
{"code":"sample string 1","description":"sample string 2"}
application/xml, text/xml
Sample:
<SMSTwilioResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InvoiceAPI.DataTransferObjects"> <code>sample string 1</code> <description>sample string 2</description> </SMSTwilioResponseDTO>