API Endpoints
Fracttal →

Query attachments from work requests

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

ParameterTypeRequiredDescription
codeTextOptionalId of the request.
startIntegerOptionalInitial record number to be displayed by the query.
limitIntegerOptionalFinal record number to be returned by the query.

Output parameters

ParameterTypeDescription
idIntegerAttachment ID
id_requestIntegerRequest ID
descriptionTextAttachment name
signed_path_imageTextAttachment 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

Language