Bridge

<back to all web services

EnquiryChatSingle

Chats
The following routes are available for this service:
GET/Chats/Single
import java.math.*
import java.util.*
import net.servicestack.client.*


open class EnquiryChatSingle
{
    var EnquiryGuid:UUID? = null
    var ChatGuid:UUID? = null
}

open class GetEnquiryChatListForContactIdViewModel
{
    var Id:Int? = null
    var Guid:UUID? = null
    var ChatGuid:UUID? = null
    var EntityId:Int? = null
    var EntityName:String? = null
    var EntityContactId:Int? = null
    var EntityContactFirstName:String? = null
    var EntityContactLastName:String? = null
    var EntityContactName:String? = null
    var EntityContactRoleInChat:String? = null
    var ChattingWithEntityId:Int? = null
    var ChattingWithEntityName:String? = null
    var ChattingWithEntityContactId:Int? = null
    var ChattingWithEntityContactFirstName:String? = null
    var ChattingWithEntityContactLastName:String? = null
    var ChattingWithEntityContactName:String? = null
    var ChattingWithEntityContactNameAndEntity:String? = null
    var ChattingWithEntityContactRoleInChat:String? = null
    var UnreadMessagesForEntityContact:Int? = null
    var LastMessageDateTime:String? = null
    var LastMessageText:String? = null
    var ChatId:Int? = null
    var LastMessageWasFromMe:Boolean? = null
    var LastMessageDelivered:Boolean? = null
    var LastMessageRead:Boolean? = null
    var ChattingWithEntityContactGuid:UUID? = null
    var DealRecapCode:Int? = null
    var BannerText:String? = null
    var ChattingWithEntityContactImageGuid:UUID? = null
}

Kotlin EnquiryChatSingle DTOs

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

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Chats/Single HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Id":0,"Guid":"00000000000000000000000000000000","ChatGuid":"00000000000000000000000000000000","EntityId":0,"EntityName":"String","EntityContactId":0,"EntityContactFirstName":"String","EntityContactLastName":"String","EntityContactName":"String","EntityContactRoleInChat":"String","ChattingWithEntityId":0,"ChattingWithEntityName":"String","ChattingWithEntityContactId":0,"ChattingWithEntityContactFirstName":"String","ChattingWithEntityContactLastName":"String","ChattingWithEntityContactName":"String","ChattingWithEntityContactNameAndEntity":"String","ChattingWithEntityContactRoleInChat":"String","UnreadMessagesForEntityContact":0,"LastMessageDateTime":"String","LastMessageText":"String","ChatId":0,"LastMessageWasFromMe":false,"LastMessageDelivered":false,"LastMessageRead":false,"ChattingWithEntityContactGuid":"00000000000000000000000000000000","DealRecapCode":0,"BannerText":"String","ChattingWithEntityContactImageGuid":"00000000000000000000000000000000"}