Query task inventory type resources

By means of this API you can consult the list of inventory type resources associated with the different tasks created in your company.

Input parameters

The following input parameters are optional, which are used to perform the pagination and filters to the query. By default Fracttal API returns only 100 records.

Parameter

Type

Required

Description

id_task

Integer

Optional

Task ID

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_task

Integer

Task ID

id_item

Integer

Asset ID (inventory)

description

Text

Inventory description

qty

Integer

Quantity

unit_cost

Integer

Unit cost

total_cost

Integer

Total cost

units_description

Text

Description of the unit

order_number

Integer

Order

note

Text

Note

Example:

Request: (GET)https://app.fracttal.com/api/tasks_resources_items/

{
  "success": true,
  "message": "200",
  "data": [
      {
            "id": 66279,
            "id_company": 914,
            "id_task": 3641424,
            "id_item": 3425,
            "description": "ACEITE EP 460 (SM)  COPEC  { 0001010000100015 } ",
            "qty": 1,
            "unit_cost": 1000,
            "total_cost": 1000,
            "units_description": "GALONES",
            "order_number": 2,
            "note": null
        },
        {
            "id": 11,
            "id_company": 914,
            "id_task": 8,
            "id_item": 3428,
            "description": "ACEITE 20 W 50  (SM) 34567898765 COPEC 20 W 50 { 0001010000100066 } ",
            "qty": 6,
            "unit_cost": 0,
            "total_cost": 0,
            "units_description": "CAJA",
            "order_number": 2,
            "note": null
        },
        {
            "id": 61931,
            "id_company": 914,
            "id_task": 1986116,
            "id_item": 3330,
            "description": "BOMBA SUCCIONADORA ACEITE - - { ACT.HERR-0048 } ",
            "qty": 1,
            "unit_cost": 1000,
            "total_cost": 1000,
            "units_description": "UNIDAD",
            "order_number": 11,
            "note": null
        }
  ],
  "total": 3
}
Language