POST api/Sms

Request Information

URI Parameters

None.

Body Parameters

InboundMessage
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

MessageId

globally unique identifier

None.

AccountId

globally unique identifier

None.

MessageText

string

None.

From

string

None.

To

string

None.

Now

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "8b2a9328-859a-448f-bd97-17a5afc8385f",
  "MessageId": "87a02bf4-7c1e-4fbf-96b7-30cb3887c63a",
  "AccountId": "86d80d2f-4902-4585-9ceb-7609b29e54b9",
  "MessageText": "sample string 4",
  "From": "sample string 5",
  "To": "sample string 6",
  "Now": "2025-12-11T14:00:23.841306+00:00"
}

application/xml, text/xml

Sample:
<InboundMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrismAPI.Models">
  <AccountId>86d80d2f-4902-4585-9ceb-7609b29e54b9</AccountId>
  <From>sample string 5</From>
  <Id>8b2a9328-859a-448f-bd97-17a5afc8385f</Id>
  <MessageId>87a02bf4-7c1e-4fbf-96b7-30cb3887c63a</MessageId>
  <MessageText>sample string 4</MessageText>
  <Now>2025-12-11T14:00:23.841306+00:00</Now>
  <To>sample string 6</To>
</InboundMessage>

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

Response Information

Resource Description

None.