POST api/Notify/ReceivedTextMessage

Request Information

URI Parameters

None.

Body Parameters

ReceivedTextMessage
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

source_number

string

None.

destination_number

string

None.

message

string

None.

date_received

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "a6db46bc-9e86-4189-b933-e1d0ea6140f7",
  "source_number": "sample string 2",
  "destination_number": "sample string 3",
  "message": "sample string 4",
  "date_received": "2024-11-22T22:51:14.531235+00:00"
}

text/html

Sample:
{"id":"a6db46bc-9e86-4189-b933-e1d0ea6140f7","source_number":"sample string 2","destination_number":"sample string 3","message":"sample string 4","date_received":"2024-11-22T22:51:14.531235+00:00"}

application/xml, text/xml

Sample:
<ReceivedTextMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <date_received>2024-11-22T22:51:14.531235+00:00</date_received>
  <destination_number>sample string 3</destination_number>
  <id>a6db46bc-9e86-4189-b933-e1d0ea6140f7</id>
  <message>sample string 4</message>
  <source_number>sample string 2</source_number>
</ReceivedTextMessage>

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.