| GET | /Chats/Messages |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | query | Guid | No | |
| SortOrder | query | string | No | |
| DeviceLocalTime | query | DateTime | No | |
| FromMessageGuid | query | Guid? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Chats/Messages HTTP/1.1 Host: internal.thebunkerbridge.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
Id: 0,
Type: String,
FromBridge: False,
Delivered: False,
Read: False,
SentDateTime: 0001-01-01,
Text: String,
EntityContactId: 0,
EntityContactGuid: 00000000000000000000000000000000,
EntityContactFirstName: String,
EntityContactLastName: String,
IconUrl: String,
MessageType: String,
CardTitle: String,
ButtonText: String,
ButtonVisibleTo: 0,
RecapId: 0,
RecapGuid: 00000000000000000000000000000000,
Status: String,
MessageGuid: 00000000000000000000000000000000,
BannerText: String,
EntityContactImageGuid: 00000000000000000000000000000000
}
]