Entity Attachments
An Entity Attachment is a linking record between a Client File and Entity. Attachments have corresponding Attachment Type records which let you define a level of categorization.
Some Attachment Types are used for our default panels, for example the Attachment Type "photo" will display the files in the "Media" tab when selecting Entities in Navigator.
You will find other Attachment Types appear under the 'Attachments' Selected Entity tab in Navigator. They will appear as folders of related Client Files.
Attachment Types requests
Below are the basic requests for managing Attachment Type records.
Get Attachment Types
Get Attachment Type by ID
Create/Update Attachment Type
Delete Attachment Type
Get Entity Attachments
You can only request the full list of attachments as we haven't had a need to filter them.
This will likely change in the future.
Get Entity Attachments
Update display order
If you have the need to re-order attachments so that certain ones appear first, you can use this request.
This order is tied to the Entity ID and Attachment Type ID.
Update display order
Delete Entity Attachments
Deleting Attachments does not delete the corresponding Client File records, it only unlinks them from the Entity.
Delete Entity Attachments
Create / update Entity Attachments
You can request an array of Attachments to update or create the links to an Entity.
It is recommended to read the Client and temp files documentation first.