POST SangHRMS/PostChat

Request Information

URI Parameters

None.

Body Parameters

Chat
NameDescriptionTypeAdditional information
iFrom

integer

None.

iTo

integer

None.

sMessage

string

None.

iType

integer

None.

sTime

string

None.

Request Formats

application/json, text/json

Sample:
{
  "iFrom": 1,
  "iTo": 2,
  "sMessage": "sample string 3",
  "iType": 4,
  "sTime": "sample string 5"
}

application/xml, text/xml

Sample:
<Chat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SangHRMS.Models">
  <iFrom>1</iFrom>
  <iTo>2</iTo>
  <iType>4</iType>
  <sMessage>sample string 3</sMessage>
  <sTime>sample string 5</sTime>
</Chat>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.