POST v1/sms/SMSCentral/Message

Request Information

URI Parameters

None.

Body Parameters

SinchMessagePostRequest
NameDescriptionTypeAdditional information
ref

string

None.

CalculatedSmsRef

string

None.

from

string

None.

id

string

None.

message

string

None.

msgref

string

None.

smsref

string

None.

to

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ref": "sample string 1",
  "CalculatedSmsRef": "sample string 6",
  "from": "sample string 2",
  "id": "sample string 3",
  "message": "sample string 4",
  "msgref": "sample string 5",
  "smsref": "sample string 6",
  "to": "sample string 7"
}

application/xml, text/xml

Sample:
<SmsController.SinchMessagePostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Controllers">
  <from>sample string 2</from>
  <id>sample string 3</id>
  <message>sample string 4</message>
  <msgref>sample string 5</msgref>
  <ref>sample string 1</ref>
  <smsref>sample string 6</smsref>
  <to>sample string 7</to>
</SmsController.SinchMessagePostRequest>

multipart/form-data

Sample:
<SmsController.SinchMessagePostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Controllers"><from>sample string 2</from><id>sample string 3</id><message>sample string 4</message><msgref>sample string 5</msgref><ref>sample string 1</ref><smsref>sample string 6</smsref><to>sample string 7</to></SmsController.SinchMessagePostRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml, multipart/form-data

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>