Bridge

<back to all web services

EnquiryChatMessages

Chats
The following routes are available for this service:
GET/Chats/Messages
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Bridge.Private.Api.DTO

Namespace Global

    Namespace Bridge.Private.Api.DTO

        Public Partial Class EnquiryChatMessages
            Public Overridable Property Id As Guid
            Public Overridable Property SortOrder As String
            Public Overridable Property DeviceLocalTime As Date
            Public Overridable Property FromMessageGuid As Nullable(Of Guid)
        End Class
    End Namespace
End Namespace

VB.NET EnquiryChatMessages DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}]