| GET | /Chats/Messages |
|---|
import Foundation
import ServiceStack
public class EnquiryChatMessages : Codable
{
public var id:String
public var sortOrder:String
public var deviceLocalTime:Date
public var fromMessageGuid:String?
required public init(){}
}
Swift EnquiryChatMessages DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
[{"Id":0,"Type":"String","FromBridge":false,"Delivered":false,"Read":false,"SentDateTime":"0001-01-01T00:00:00.0000000","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"}]