POST api/Notify/CreateSMSSubscription

Request Information

URI Parameters

None.

Body Parameters

SMSSubscription
NameDescriptionTypeAdditional information
Id

integer

None.

Keyword

string

None.

Route

string

None.

TimeStamp

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Keyword": "sample string 2",
  "Route": "sample string 3",
  "TimeStamp": "2024-11-22T22:39:25.062659+00:00"
}

text/html

Sample:
{"Id":1,"Keyword":"sample string 2","Route":"sample string 3","TimeStamp":"2024-11-22T22:39:25.062659+00:00"}

application/xml, text/xml

Sample:
<SMSSubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <Id>1</Id>
  <Keyword>sample string 2</Keyword>
  <Route>sample string 3</Route>
  <TimeStamp>2024-11-22T22:39:25.062659+00:00</TimeStamp>
</SMSSubscription>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.