Bridge

<back to all web services

EnquiryChatDetails

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


open class EnquiryChatDetails
{
    var Id:UUID? = null
    var SingleChat:Boolean? = null
}

open class ChatDetailsViewModel
{
    var VesselId:Int? = null
    var EntityContactId:Int? = null
    var EntityContactGuid:UUID? = null
    var EntityContactImageGuid:UUID? = null
    var EntityContactFirstName:String? = null
    var EntityContactLastName:String? = null
    var ChatGuid:UUID? = null
    var ChattingWithEntityContactFirstName:String? = null
    var ChattingWithEntityContactLastName:String? = null
    var ChattingWithEntityContactJobTitle:String? = null
    var ChattingWithEntityName:String? = null
    var SingleChat:Boolean? = null
    var ChattingWithEntityContactId:Int? = null
    var ChattingWithEntityContactGuid:UUID? = null
    var ChattingWithEntityContactRole:String? = null
    var ChattingWithEntityId:Int? = null
    var ChattingWithEntityContactEmailAddress:String? = null
    var NominateSellerAlreadyUsed:Boolean? = null
    var ActiveChatAuthorIds:String? = null
    var BannerText:String? = null
    var ChattingWithEntityContactImageGuid:UUID? = null
}

Kotlin EnquiryChatDetails 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/Details HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"VesselId":0,"EntityContactId":0,"EntityContactGuid":"00000000000000000000000000000000","EntityContactImageGuid":"00000000000000000000000000000000","EntityContactFirstName":"String","EntityContactLastName":"String","ChatGuid":"00000000000000000000000000000000","ChattingWithEntityContactFirstName":"String","ChattingWithEntityContactLastName":"String","ChattingWithEntityContactJobTitle":"String","ChattingWithEntityName":"String","SingleChat":false,"ChattingWithEntityContactId":0,"ChattingWithEntityContactGuid":"00000000000000000000000000000000","ChattingWithEntityContactRole":"String","ChattingWithEntityId":0,"ChattingWithEntityContactEmailAddress":"String","NominateSellerAlreadyUsed":false,"ActiveChatAuthorIds":"String","BannerText":"String","ChattingWithEntityContactImageGuid":"00000000000000000000000000000000"}