POST api/ChatMaster/SendChatMessage

Request Information

URI Parameters

None.

Body Parameters

vm_sendChatMessageResDTO
NameDescriptionTypeAdditional information
p_ChatId

integer

None.

p_SenderId

integer

None.

p_Message

string

None.

p_MessageType

string

None.

p_fileurl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "p_ChatId": 1,
  "p_SenderId": 1,
  "p_Message": "sample string 1",
  "p_MessageType": "sample string 2",
  "p_fileurl": "sample string 3"
}

application/xml, text/xml

Sample:
<vm_sendChatMessageResDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/initiate.BAL.Domain">
  <p_ChatId>1</p_ChatId>
  <p_Message>sample string 1</p_Message>
  <p_MessageType>sample string 2</p_MessageType>
  <p_SenderId>1</p_SenderId>
  <p_fileurl>sample string 3</p_fileurl>
</vm_sendChatMessageResDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.