GET api/BusinessToBusiness/ChatsHistory?bookingId={bookingId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Chat| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| BusinessCustomerId | globally unique identifier |
None. |
|
| BookingId | integer |
None. |
|
| CreateDate | date |
None. |
|
| Source | integer |
None. |
|
| Text | string |
None. |
|
| SenderName | string |
None. |
|
| Status | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"BusinessCustomerId": "1ed7d81f-40bf-4efb-a5b9-e1c255bec799",
"BookingId": 1,
"CreateDate": "2026-02-11 17:51",
"Source": 3,
"Text": "sample string 4",
"SenderName": "sample string 5",
"Status": 1
},
{
"Id": 1,
"BusinessCustomerId": "1ed7d81f-40bf-4efb-a5b9-e1c255bec799",
"BookingId": 1,
"CreateDate": "2026-02-11 17:51",
"Source": 3,
"Text": "sample string 4",
"SenderName": "sample string 5",
"Status": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfChat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flynet.Common.DataContracts">
<Chat>
<BookingId>1</BookingId>
<BusinessCustomerId>1ed7d81f-40bf-4efb-a5b9-e1c255bec799</BusinessCustomerId>
<CreateDate>2026-02-11T17:51:57.6826397-06:00</CreateDate>
<Id>1</Id>
<SenderName>sample string 5</SenderName>
<Source>3</Source>
<Status>1</Status>
<Text>sample string 4</Text>
</Chat>
<Chat>
<BookingId>1</BookingId>
<BusinessCustomerId>1ed7d81f-40bf-4efb-a5b9-e1c255bec799</BusinessCustomerId>
<CreateDate>2026-02-11T17:51:57.6826397-06:00</CreateDate>
<Id>1</Id>
<SenderName>sample string 5</SenderName>
<Source>3</Source>
<Status>1</Status>
<Text>sample string 4</Text>
</Chat>
</ArrayOfChat>