POST api/Messages/Send
Request Information
URI Parameters
None.
Body Parameters
SendMessageBindingModel| Name | Description | Type | Additional 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": "03ed583d-b8d9-4f94-b98c-c74bfb9be6fe"
}
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>03ed583d-b8d9-4f94-b98c-c74bfb9be6fe</UserIdOfRecipient> </SendMessageBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.