POST api/SMSApi

Request Information

URI Parameters

None.

Body Parameters

VM_TBL_SMS
NameDescriptionTypeAdditional information
phone_number

string

None.

shortcode

string

None.

message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "phone_number": "sample string 1",
  "shortcode": "sample string 2",
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<VM_TBL_SMS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Something.Models">
  <message>sample string 3</message>
  <phone_number>sample string 1</phone_number>
  <shortcode>sample string 2</shortcode>
</VM_TBL_SMS>

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 'VM_TBL_SMS'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.