get https://app.fracttal.com/api/work_requests_attachments/:code/
By means of this EndPoint it is possible to consult the attachments (images) linked to work requests.
To use this EndPoint it is necessary to have the Advanced API ADD-ON.
Input parameters
| Parameter | Type | Required | Description | 
|---|---|---|---|
| code | Text | Optional | Id of the request. | 
| start | Integer | Optional | Initial record number to be displayed by the query. | 
| limit | Integer | Optional | Final record number to be returned by the query. | 
Output parameters
| Parameter | Type | Description | 
|---|---|---|
| id | Integer | Attachment ID | 
| id_request | Integer | Request ID | 
| description | Text | Attachment name | 
| signed_path_image | Text | Attachment download URL | 
Example:
Request: (GET)https://app.fracttal.com/api/work_requests_attachments/11
{
    "success": true,
    "message": "200",
    "data": [
        {
            "id": 3,
            "id_company": 1190,
            "id_request": 11,
            "description": "galery_20191004081300.png",
            "signed_path_image": "https://fracttal-fs.s3.amazonaws.com/company_1190/.request/11/galery_20191004081300.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJFGNA53BIGD7KR2A%2F20220618%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220618T033733Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=79eb82ab95638a6e01ec10f79abf616e195452c3c4769c0aa579de4890231155"
        },
        {
            "id": 4,
            "id_company": 1190,
            "id_request": 11,
            "description": "galery_20191004081311.png",
            "signed_path_image": "https://fracttal-fs.s3.amazonaws.com/company_1190/.request/11/galery_20191004081311.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJFGNA53BIGD7KR2A%2F20220618%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220618T033733Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=a5d40fb9ce1735c1b12c6725ac419e3dcff65d688c3f4fdc6f0f80e6322b06fd"
        },
        {
            "id": 5,
            "id_company": 1190,
            "id_request": 11,
            "description": "IMG_20191004_081319.jpg",
            "signed_path_image": "https://fracttal-fs.s3.amazonaws.com/company_1190/.request/11/IMG_20191004_081319.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJFGNA53BIGD7KR2A%2F20220618%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220618T033733Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=f0d4032537737788d1b29e6c7f833efe6c40f7e8524e8e7305d00861be5e486a"
        }
    ],
    "total": 3
}Test It
