Bridge

<back to all web services

EnquiryChatDetails

Chats
The following routes are available for this service:
GET/Chats/Details

export class EnquiryChatDetails
{
    public Id: string;
    public SingleChat: boolean;

    public constructor(init?: Partial<EnquiryChatDetails>) { (Object as any).assign(this, init); }
}

export class ChatDetailsViewModel
{
    public VesselId: number;
    public EntityContactId: number;
    public EntityContactGuid: string;
    public EntityContactImageGuid: string;
    public EntityContactFirstName: string;
    public EntityContactLastName: string;
    public ChatGuid: string;
    public ChattingWithEntityContactFirstName: string;
    public ChattingWithEntityContactLastName: string;
    public ChattingWithEntityContactJobTitle: string;
    public ChattingWithEntityName: string;
    public SingleChat: boolean;
    public ChattingWithEntityContactId: number;
    public ChattingWithEntityContactGuid: string;
    public ChattingWithEntityContactRole: string;
    public ChattingWithEntityId: number;
    public ChattingWithEntityContactEmailAddress: string;
    public NominateSellerAlreadyUsed: boolean;
    public ActiveChatAuthorIds: string;
    public BannerText: string;
    public ChattingWithEntityContactImageGuid: string;

    public constructor(init?: Partial<ChatDetailsViewModel>) { (Object as any).assign(this, init); }
}

TypeScript EnquiryChatDetails 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/Details HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}