API Endpoints
Fracttal →

Query stocks associated with a warehouse

Through this web service you can consult the stock (spare parts and supplies) that are associated to a particular warehouse in Fracttal.

Input parameters

ParameeterTypeRequiredDescription
codeTextYesWarehouse code to be queried (optional if the warehouse id is sent).
idTextYesId of the warehouse to be consulted (optional if the warehouse code is sent)

Parámetros de salida

ParámetroTipoDescripción
id_itemTextItem ID
id_type_itemTextType of item
descriptionTextItem description
codeTextItem code
units_descriptionTextItem unit
field_1TextItem name
field_2Textitem field_2
activeTextItem status
groups_descriptionTextType
groups_1_descriptionTextClassification 1
groups_2_descriptionTextClassification 2
parent_descriptionTextLocation
id_warehouseTextWarehouse ID
stockTextStock
max_stock_levelTextMaximum level
min_stock_levelTextMinimum level
locationTextLocation within the warehouse

Example:

Request: (GET) https://app.fracttal.com/api/warehouses_items/?code=1254

{
  "success": true,
  "mensaje": "200",
  "data":  [
              {
            "id_item": 2112,
            "id_type_item": 4,
            "description": " MODULO   ZMR -0.6-PKZ2 (SM)    { 0003010001001521 }",
            "code": "0003010001001521",
            "units_description": "Cada uno",
            "field_1": " MODULO   ZMR -0.6-PKZ2 (SM)",
            "field_2": "",
            "active": true,
            "groups_description": null,
            "groups_1_description": null,
            "groups_2_description": null,
            "parent_description": "// ",
            "id_warehouse": 4,
            "stock": 0,
            "max_stock_level": null,
            "min_stock_level": null,
            "location": null,
            "reorder_level": null
        },
        {
            "id_item": 2117,
            "id_type_item": 4,
            "description": " MODULO  ZMR -10-PKZ2 (SM)    { 0003010001001527 }",
            "code": "0003010001001527",
            "units_description": "Cada uno",
            "field_1": " MODULO  ZMR -10-PKZ2 (SM)",
            "field_2": "",
            "active": true,
            "groups_description": null,
            "groups_1_description": null,
            "groups_2_description": null,
            "parent_description": "// ",
            "id_warehouse": 4,
            "stock": 0,
            "max_stock_level": null,
            "min_stock_level": null,
            "location": null,
            "reorder_level": null
        }
  ],
  "total": 2
}

Test it

Language