POST api/Notifications/TestSMSApi

Request Information

URI Parameters

None.

Body Parameters

Offlinesms
NameDescriptionTypeAdditional information
condition

string

None.

mobile

string

None.

message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "condition": "sample string 1",
  "mobile": "sample string 2",
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<Offlinesms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL">
  <condition>sample string 1</condition>
  <message>sample string 3</message>
  <mobile>sample string 2</mobile>
</Offlinesms>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.