POST api/ChatService/GetChatMessages

Request Information

URI Parameters

None.

Body Parameters

GetChatMessageModel
NameDescriptionTypeAdditional information
ChatId

string

Required

DateCreatedUtc

date

None.

Count

integer

None.

Direction

LazyLoadDirection

None.

Request Formats

application/json, text/json

Sample:
{
  "chatId": "sample string 1",
  "dateCreatedUtc": "2026-05-31T09:37:02.3275177+00:00",
  "count": 3,
  "direction": 0
}

application/xml, text/xml

Sample:
<GetChatMessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatService.Core.Models">
  <ChatId>sample string 1</ChatId>
  <Count>3</Count>
  <DateCreatedUtc>2026-05-31T09:37:02.3275177+00:00</DateCreatedUtc>
  <Direction>NewerMessages</Direction>
</GetChatMessageModel>

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.