Gets/downloads an attachment of a record.
Note the trailing filename can be any string, it is used to ensure that browsers download certain file types, like Excel spreadsheets.
Request
GET https://www.activityinfo.org/resources/form/{formId}/record/{recordId}/field/{fieldId}/blob/{blobId}/{filename}
Response
Status Code | Error Code | Description |
---|---|---|
401 | AUTHENTICATION_ |
The request must be authenticated |
Example
curl -u anything:YOUR_API_TOKEN \
https://www.activityinfo.org/resources/form/ck8pu9ha07/record/ck34ujs6v8/field/carknkldta8h4o3/blob/ccwnp64ldta8ds82/Case_20230325_154639_UTC_01_00.xlsx