Booking Document Download - GET
Booking Document Download By AssetId - GET API EndpointBooking Document Download API
The Booking Document Download API enables clients to retrieve specific documents related to a booking by specifying a unique identifier known as the asset ID during the booking flow. This endpoint facilitates the download of various files, including tenant identity documents or prefilled contract documents without a client signature, solely for preview purposes.
GET
/v1/booking/{bookingId}/document/{assetId}/download
Request Content Type
application/json
Response Content Type
*/*
URL Query Parameters:
-
bookingId unique-identifier required
bookingId refers to an activity ID of the specific booking. -
assetId unique-identifier required
The unique identifier (asset ID) of the file to be downloaded.
Response Payload:
The server will respond with the requested file. The actual content type will depend on the type of file being downloaded.
Error Codes
-
INVALID_PARAM_ASSETS_INFO_ID
INVALID_PARAM_ASSETS_INFO_ID refers to invalid asset ID. -
NO_RECORDS_FOUND
NO_RECORDS_FOUND means there is no relevant information found. -
FAILED
FAILED refers to an unsuccessful API call. -
SOMETHING_WENT_WRONG
SOMETHING_WENT_WRONG refers to technical glitch. Please contact administrator.