Bridge

<back to all web services

EnquiryGetEnquiryChatListForContactId

Enquiries
The following routes are available for this service:
GET/Enquiries/Get-Enquiry-Chat-List-For-Contact-Id
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class EnquiryGetEnquiryChatListForContactId:
    enquiry_guid: Optional[str] = None

Python EnquiryGetEnquiryChatListForContactId DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Enquiries/Get-Enquiry-Chat-List-For-Contact-Id HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}]