Attachments
Get an attachment by attachment id
Get an existing attachment.
To obtain the attachment binary contents:
- forward the client to the url returned from the getAttachmentPresignedUrl method (recommended if applicable)
- capture the binary stream from the url returned from the getAttachmentPresignedUrl method
- invoke this API preferencing the 'application/octet-stream' response
This method requires the Attachments:Get permission to be associated with your role.
For accessing the API a valid token must be passed in all the queries in the 'Authorization' header.
A valid token is generated by the API and returned by the /authenticate method by supplying a valid username and password.
The following syntax must be used in the 'Authorization' header :
Bearer aaaaaa/bbbbbb.ccccccc.ddddddResponse
application/vnd.catch-e-api.v1+json
Success
The unique id of the record in the target table the attachment is associated with
Maximum string length:
20Pattern:
^[1-9]{1}[0-9]*$Example:
123456Target table the attachment is associated with
Available options:
bk_booking_events, fm_approvals, fm_client_events, fm_contract_events, fm_contract_payouts, fm_driver_events, fm_maintenance, fm_supplier_events, gb_report_queue, qt_quote_eventsMore in Attachments
POSTGet an attachment resource pre-signed URLStill need help? Ask the team