POST api/sync/pushchatmessage

Request Information

URI Parameters

None.

Body Parameters

SyncChatMessageFromClient
NameDescriptionTypeAdditional information
Id

integer

None.

Status

integer

None.

DateRead

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "status": 2,
  "dateRead": "sample string 3"
}

application/xml, text/xml

Sample:
<SyncChatMessageFromClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThorMobileAPI.Models">
  <DateRead>sample string 3</DateRead>
  <Id>1</Id>
  <Status>2</Status>
</SyncChatMessageFromClient>

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

Response Information

Resource Description

SyncChatMessageFromClient
NameDescriptionTypeAdditional information
Id

integer

None.

Status

integer

None.

DateRead

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "status": 2,
  "dateRead": "sample string 3"
}

application/xml, text/xml

Sample:
<SyncChatMessageFromClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThorMobileAPI.Models">
  <DateRead>sample string 3</DateRead>
  <Id>1</Id>
  <Status>2</Status>
</SyncChatMessageFromClient>