Get Booking Document List
Get Booking Document List
POST
[PlatformAddress]/api/1.0/venue?action=getBookingDocumentList
Retrieve a list of documents associated with a specific booking.
Request Body
venueId
integer
The unique ID of the venue to which the booking belongs.
bookingId
integer
The unique ID of the booking whose documents are to be retrieved.
onlyGenerated
boolean
Whether to fetch only generated documents.
start
integer
The starting index for pagination (zero-based).
perPage
integer
The number of documents to retrieve per page.
Example Request
Booking Document
id
integer
The unique ID of the document.
venueId
integer
The unique ID of the venue associated with the document.
bookingId
integer
The unique ID of the booking associated with the document.
type
integer
templateName
string
The name of the template used to generate the document.
status
integer
createdDate
datetime
The date and time when the document was created (UTC).
modifiedDate
datetime
The date and time when the document was last modified (UTC).
file
object
File
url
string
The pre-signed URL where the document file can be accessed (if available).
urlExpiry
datetime
The expiry time of the pre-signed URL.
filename
string
The display name of the file, typically including the template and context details.
Type
1
Quote created by the system
2
Contract created by the system
3
Quote uploaded by users
4
Contract uploaded by users
5
Other types of documents
6
Banquet Event Order (BEO) generated by the system
7
Resume
8
Banquet Check
Status
1
Building (Document is in the building stage)
2
Building Error (Error during document building)
3
Draft (Document is still in draft form)
4
Generated (Document's HTML is generated, PDF pending)
5
Sent (Document has been sent to the relevant party)
8
Completed (Document has been completed)
Last updated