POST api/MobiMatterPlan/SendSMSMessage

Request Information

URI Parameters

None.

Body Parameters

SMSMessage
NameDescriptionTypeAdditional information
To

string

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "To": "sample string 1",
  "Message": "sample string 2"
}

text/html

Sample:
{"To":"sample string 1","Message":"sample string 2"}

application/xml, text/xml

Sample:
<SMSMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <Message>sample string 2</Message>
  <To>sample string 1</To>
</SMSMessage>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SMSMessage'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>