GET api/BusinessToBusiness/ChatsHistory?bookingId={bookingId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bookingId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Chat
NameDescriptionTypeAdditional 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": "d0f6aac4-ca7b-4840-bdb5-4b70830d3259",
    "BookingId": 1,
    "CreateDate": "2025-08-21 16:09",
    "Source": 3,
    "Text": "sample string 4",
    "SenderName": "sample string 5",
    "Status": 1
  },
  {
    "Id": 1,
    "BusinessCustomerId": "d0f6aac4-ca7b-4840-bdb5-4b70830d3259",
    "BookingId": 1,
    "CreateDate": "2025-08-21 16:09",
    "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>d0f6aac4-ca7b-4840-bdb5-4b70830d3259</BusinessCustomerId>
    <CreateDate>2025-08-21T16:09:18.2536007-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>d0f6aac4-ca7b-4840-bdb5-4b70830d3259</BusinessCustomerId>
    <CreateDate>2025-08-21T16:09:18.2536007-06:00</CreateDate>
    <Id>1</Id>
    <SenderName>sample string 5</SenderName>
    <Source>3</Source>
    <Status>1</Status>
    <Text>sample string 4</Text>
  </Chat>
</ArrayOfChat>