Bridge

<back to all web services

EnquiryChatSingle

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

export class EnquiryChatSingle
{
    public EnquiryGuid: string;
    public ChatGuid: string;

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

export class GetEnquiryChatListForContactIdViewModel
{
    public Id: number;
    public Guid: string;
    public ChatGuid: string;
    public EntityId: number;
    public EntityName: string;
    public EntityContactId: number;
    public EntityContactFirstName: string;
    public EntityContactLastName: string;
    public EntityContactName: string;
    public EntityContactRoleInChat: string;
    public ChattingWithEntityId: number;
    public ChattingWithEntityName: string;
    public ChattingWithEntityContactId: number;
    public ChattingWithEntityContactFirstName: string;
    public ChattingWithEntityContactLastName: string;
    public ChattingWithEntityContactName: string;
    public ChattingWithEntityContactNameAndEntity: string;
    public ChattingWithEntityContactRoleInChat: string;
    public UnreadMessagesForEntityContact: number;
    public LastMessageDateTime: string;
    public LastMessageText: string;
    public ChatId: number;
    public LastMessageWasFromMe: boolean;
    public LastMessageDelivered: boolean;
    public LastMessageRead: boolean;
    public ChattingWithEntityContactGuid: string;
    public DealRecapCode: number;
    public BannerText: string;
    public ChattingWithEntityContactImageGuid: string;

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

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