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.*;

public class dtos
{

    public static class EnquiryChatDetails
    {
        public UUID Id = null;
        public Boolean SingleChat = null;
        
        public UUID getId() { return Id; }
        public EnquiryChatDetails setId(UUID value) { this.Id = value; return this; }
        public Boolean isSingleChat() { return SingleChat; }
        public EnquiryChatDetails setSingleChat(Boolean value) { this.SingleChat = value; return this; }
    }

    public static class ChatDetailsViewModel
    {
        public Integer VesselId = null;
        public Integer EntityContactId = null;
        public UUID EntityContactGuid = null;
        public UUID EntityContactImageGuid = null;
        public String EntityContactFirstName = null;
        public String EntityContactLastName = null;
        public UUID ChatGuid = null;
        public String ChattingWithEntityContactFirstName = null;
        public String ChattingWithEntityContactLastName = null;
        public String ChattingWithEntityContactJobTitle = null;
        public String ChattingWithEntityName = null;
        public Boolean SingleChat = null;
        public Integer ChattingWithEntityContactId = null;
        public UUID ChattingWithEntityContactGuid = null;
        public String ChattingWithEntityContactRole = null;
        public Integer ChattingWithEntityId = null;
        public String ChattingWithEntityContactEmailAddress = null;
        public Boolean NominateSellerAlreadyUsed = null;
        public String ActiveChatAuthorIds = null;
        public String BannerText = null;
        public UUID ChattingWithEntityContactImageGuid = null;
        
        public Integer getVesselId() { return VesselId; }
        public ChatDetailsViewModel setVesselId(Integer value) { this.VesselId = value; return this; }
        public Integer getEntityContactId() { return EntityContactId; }
        public ChatDetailsViewModel setEntityContactId(Integer value) { this.EntityContactId = value; return this; }
        public UUID getEntityContactGuid() { return EntityContactGuid; }
        public ChatDetailsViewModel setEntityContactGuid(UUID value) { this.EntityContactGuid = value; return this; }
        public UUID getEntityContactImageGuid() { return EntityContactImageGuid; }
        public ChatDetailsViewModel setEntityContactImageGuid(UUID value) { this.EntityContactImageGuid = value; return this; }
        public String getEntityContactFirstName() { return EntityContactFirstName; }
        public ChatDetailsViewModel setEntityContactFirstName(String value) { this.EntityContactFirstName = value; return this; }
        public String getEntityContactLastName() { return EntityContactLastName; }
        public ChatDetailsViewModel setEntityContactLastName(String value) { this.EntityContactLastName = value; return this; }
        public UUID getChatGuid() { return ChatGuid; }
        public ChatDetailsViewModel setChatGuid(UUID value) { this.ChatGuid = value; return this; }
        public String getChattingWithEntityContactFirstName() { return ChattingWithEntityContactFirstName; }
        public ChatDetailsViewModel setChattingWithEntityContactFirstName(String value) { this.ChattingWithEntityContactFirstName = value; return this; }
        public String getChattingWithEntityContactLastName() { return ChattingWithEntityContactLastName; }
        public ChatDetailsViewModel setChattingWithEntityContactLastName(String value) { this.ChattingWithEntityContactLastName = value; return this; }
        public String getChattingWithEntityContactJobTitle() { return ChattingWithEntityContactJobTitle; }
        public ChatDetailsViewModel setChattingWithEntityContactJobTitle(String value) { this.ChattingWithEntityContactJobTitle = value; return this; }
        public String getChattingWithEntityName() { return ChattingWithEntityName; }
        public ChatDetailsViewModel setChattingWithEntityName(String value) { this.ChattingWithEntityName = value; return this; }
        public Boolean isSingleChat() { return SingleChat; }
        public ChatDetailsViewModel setSingleChat(Boolean value) { this.SingleChat = value; return this; }
        public Integer getChattingWithEntityContactId() { return ChattingWithEntityContactId; }
        public ChatDetailsViewModel setChattingWithEntityContactId(Integer value) { this.ChattingWithEntityContactId = value; return this; }
        public UUID getChattingWithEntityContactGuid() { return ChattingWithEntityContactGuid; }
        public ChatDetailsViewModel setChattingWithEntityContactGuid(UUID value) { this.ChattingWithEntityContactGuid = value; return this; }
        public String getChattingWithEntityContactRole() { return ChattingWithEntityContactRole; }
        public ChatDetailsViewModel setChattingWithEntityContactRole(String value) { this.ChattingWithEntityContactRole = value; return this; }
        public Integer getChattingWithEntityId() { return ChattingWithEntityId; }
        public ChatDetailsViewModel setChattingWithEntityId(Integer value) { this.ChattingWithEntityId = value; return this; }
        public String getChattingWithEntityContactEmailAddress() { return ChattingWithEntityContactEmailAddress; }
        public ChatDetailsViewModel setChattingWithEntityContactEmailAddress(String value) { this.ChattingWithEntityContactEmailAddress = value; return this; }
        public Boolean isNominateSellerAlreadyUsed() { return NominateSellerAlreadyUsed; }
        public ChatDetailsViewModel setNominateSellerAlreadyUsed(Boolean value) { this.NominateSellerAlreadyUsed = value; return this; }
        public String getActiveChatAuthorIds() { return ActiveChatAuthorIds; }
        public ChatDetailsViewModel setActiveChatAuthorIds(String value) { this.ActiveChatAuthorIds = value; return this; }
        public String getBannerText() { return BannerText; }
        public ChatDetailsViewModel setBannerText(String value) { this.BannerText = value; return this; }
        public UUID getChattingWithEntityContactImageGuid() { return ChattingWithEntityContactImageGuid; }
        public ChatDetailsViewModel setChattingWithEntityContactImageGuid(UUID value) { this.ChattingWithEntityContactImageGuid = value; return this; }
    }

}

Java 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"}