get
https://app.fracttal.com/api/groups_tasks_list_asserts/
Through this API, you can query assets associated with a task plan.
Input Parameters
You can filter the information using the following query_params:
Parameter | Type | Required | Description |
|---|---|---|---|
id_group_task | Integer | Optional | Task plan code. You can query it here. (id field) |
start | Integer | Optional | Record number where the query will start. Default is 0. All queries are limited to 100 records. When there are more than that amount, this parameter must be used for pagination. |
limit | Integer | Optional | Number of records that the request will show. The default value is 100. |
Output Parameters
| Parameter | Type | Description |
|---|---|---|
id_group_task | Integer | ID of the task plan it belongs to. Null, if it's an unscheduled task |
id | Integer | Asset ID |
code | Text | Asset Code |
description | Text | Asset Description |
id_company | Integer | Company ID |
Request: *(GET)https://app.fracttal.com/api/groups_tasks_list_asserts
{
"success": true,
"message": "200",
"data": [
{
"id_group_task": null,
"id": 28859093,
"code": "PPC.TH.AR2.349",
"description": " 5/8\\ ring with flat side for 4tn { PPC.TH.AR2.349 }",
"id_company": 1190
},
{
"id_group_task": null,
"id": 28859104,
"code": "PPC.TH.AR2.360",
"description": " 5/8\\ ring with flat side for 4tn { PPC.TH.AR2.360 }",
"id_company": 1190
}
],
"total": 2
}