API Endpoints
Fracttal →

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.

ParameterTypeRequiredDescription
id_task IntegerOptionalTask ID
startIntegerOptionalInitial record number to be displayed by the query.
limitIntegerOptionalFinal record number to be returned by the query.

Output parameters

ParameterTypeDescription
id_taskIntegerTask ID
id_itemIntegerAsset ID (inventory)
descriptionTextInventory description
qtyIntegerQuantity
unit_costIntegerUnit cost
total_costIntegerTotal cost
units_descriptionTextDescription of the unit
order_numberIntegerOrder
noteTextNote

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