POST api/orders/{orderId}/chat

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderId

integer

Required

Body Parameters

SendChatMessageRequest
NameDescriptionTypeAdditional information
SenderType

string

None.

SenderId

integer

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "senderType": "sample string 1",
  "senderId": 2,
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<SendChatMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Chat">
  <Message>sample string 3</Message>
  <SenderId>2</SenderId>
  <SenderType>sample string 1</SenderType>
</SendChatMessageRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.