Bridge

<back to all web services

EnquiryChatMessages

Chats
The following routes are available for this service:
GET/Chats/Messages
namespace Bridge.Private.Api.DTO

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type EnquiryChatMessages() = 
        member val Id:Guid = new Guid() with get,set
        member val SortOrder:String = null with get,set
        member val DeviceLocalTime:DateTime = new DateTime() with get,set
        member val FromMessageGuid:Nullable<Guid> = new Nullable<Guid>() with get,set

F# EnquiryChatMessages DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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
	}
]