POST api/SMS/AddSMS

Request Information

URI Parameters

None.

Body Parameters

SMS
NameDescriptionTypeAdditional information
SMS_Id

integer

None.

SMSName

string

None.

TextSMS

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SMS_Id": 1,
  "SMSName": "sample string 2",
  "TextSMS": "sample string 3"
}

application/octet-stream

Sample:
{"$id":"1","SMS_Id":1,"SMSName":"sample string 2","TextSMS":"sample string 3"}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.