POST api/sms
Sends a SMS.
Request Information
URI Parameters
None.
Body Parameters
MessageData| Name | Description | Type | Additional information |
|---|---|---|---|
| SenderId |
SMS Sender Id. |
string |
None. |
| PhoneNumbers |
List of phone numbers. |
Collection of string |
None. |
| Body |
Body of the message. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SenderId": "sample string 1",
"PhoneNumbers": [
"sample string 1",
"sample string 2"
],
"Body": "sample string 2"
}
application/xml, text/xml
Sample:
<MessageData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/PuntoNeutro.Core.Messages">
<Body>sample string 2</Body>
<PhoneNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</PhoneNumbers>
<SenderId>sample string 1</SenderId>
</MessageData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.