Save an attachment
This service allows you to save an attachment via the API rather than using the regular web-based attachment upload function.
This method requires the Attachments:Save 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.ddddddBody
(Optional) Notes to be stored with the attachment
65535^[\w\W\d\s]*$The unique (primary) id of the record in the target table the attachment is to be associated with
20^[1-9]{1}[0-9]*$Response
Success
The unique id of the record in the target table the attachment is associated with
20^[1-9]{1}[0-9]*$123456Target table the attachment is associated with
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
DELDelete an attachmentPOSTGet an attachment resource pre-signed URLStill need help? Ask the team