Bridge

<back to all web services

EnquiryChatSingle

Chats
The following routes are available for this service:
GET/Chats/Single
EnquiryChatSingle Parameters:
NameParameterData TypeRequiredDescription
EnquiryGuidqueryGuidNo
ChatGuidqueryGuidNo
GetEnquiryChatListForContactIdViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
GuidformGuidNo
ChatGuidformGuidNo
EntityIdformintNo
EntityNameformstringNo
EntityContactIdformintNo
EntityContactFirstNameformstringNo
EntityContactLastNameformstringNo
EntityContactNameformstringNo
EntityContactRoleInChatformstringNo
ChattingWithEntityIdformintNo
ChattingWithEntityNameformstringNo
ChattingWithEntityContactIdformintNo
ChattingWithEntityContactFirstNameformstringNo
ChattingWithEntityContactLastNameformstringNo
ChattingWithEntityContactNameformstringNo
ChattingWithEntityContactNameAndEntityformstringNo
ChattingWithEntityContactRoleInChatformstringNo
UnreadMessagesForEntityContactformintNo
LastMessageDateTimeformstringNo
LastMessageTextformstringNo
ChatIdformintNo
LastMessageWasFromMeformboolNo
LastMessageDeliveredformboolNo
LastMessageReadformboolNo
ChattingWithEntityContactGuidformGuidNo
DealRecapCodeformintNo
BannerTextformstringNo
ChattingWithEntityContactImageGuidformGuidNo

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
}