POST api/Chat/Send
Request Information
URI Parameters
None.
Body Parameters
ChatMessageRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ConversationId | integer |
None. |
|
| CurrentUserName | string |
None. |
|
| ReceiverUserId | integer |
None. |
|
| Message | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ConversationId": 1,
"CurrentUserName": "sample string 2",
"ReceiverUserId": 3,
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<ChatMessageRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebService.Models"> <ConversationId>1</ConversationId> <CurrentUserName>sample string 2</CurrentUserName> <Message>sample string 4</Message> <ReceiverUserId>3</ReceiverUserId> </ChatMessageRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.