POST api/Messages/Send

Request Information

URI Parameters

None.

Body Parameters

SendMessageBindingModel
NameDescriptionTypeAdditional information
Content

string

None.

TransactionId

integer

None.

UserIdOfRecipient

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Content": "sample string 1",
  "TransactionId": 2,
  "UserIdOfRecipient": "f53e1e66-d4f1-4895-965d-ec0c3473ed33"
}

application/xml, text/xml

Sample:
<SendMessageBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <Content>sample string 1</Content>
  <TransactionId>2</TransactionId>
  <UserIdOfRecipient>f53e1e66-d4f1-4895-965d-ec0c3473ed33</UserIdOfRecipient>
</SendMessageBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.