Through this EndPoint you can consult the attachments linked to task lists.

To use this EndPoint it is necessary to have the Advanced API ADD-ON.

EndPoint https://app.fracttal.com/api/groups_tasks_attachments/:id

Parameters Input

Parameter

Field type

Required

Description

Id

Whole

Optional

The ID of the task plan.

id_task

Whole

Optional

Task ID

Start

Whole

Optional

The initial record number that the query will display.

limit

Whole

Optional

Final record number that will return the query.

Output parameters

Parameter

Field type

Description

Id

Whole

Attachment ID

id_group_task

Whole

Task plan ID

id_task

Whole

Task ID

group_task_description

Text

Task plan description

task_description

Text

Task description

type

Whole

Attachment type (1-File, 2-Note, 3-Link)

description

Text

Attachment description

value_attachment

Text

Attachment value

Example:

Example Request: https://app.fracttal.com/api/groups_tasks_attachments/47988

{
"success": true,
"message": "200",
"data": [
{
"id": 98526,
"id_company": 1190,
"id_group_task": 47988,
"id_task": 1780507,
"group_task_description": "Cambio de banda TEST",
"task_description": "validar",
"type": 1,
"description": null,
"value_attachment": "https://fracttal-dev.s3.amazonaws.com/company_1190/Ex%20fin%20Correcto.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJFGNA53BIGD7KR2A%2F20220622%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220622T163033Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=ac4446b0f12aa8bec4093d1723dfb9123808188566052771daa0f7d81dc064ee"
}
],
"total": 1
}
Did this answer your question?