Query equivalent assets

With this API, you can query equivalent spare parts and supplies associated with an asset.

Input Parameters

You must send the asset code to be queried as a parameter:

ParameterTypeRequiredDescription
codeTextRequiredAsset code. You can check it here. (field code)

Output Parameters

You must send the asset code to be queried as a parameter:

ParameterTypeDescription
idIntegerID of the equivalence
id_companyIntegerCompany ID
id_itemIntegerAsset ID
id_item_brandIntegerEquivalent asset ID
item_codeTextAsset code
item_code_brandTextEquivalent asset code
item_brand_descriptionTextEquivalent asset description
brandTextEquivalent asset brand
barcodeTextEquivalent asset barcode
modelTextEquivalent asset model

Example

Request: (GET) https://app.fracttal.com/api/api/items_equivalents/?code=Repuesto

{
    "success": true,
    "message": "200",
    "data": [
        {
            "barcode": "987253647898",
            "brand": "Bosch",
            "id": 5494,
            "id_company": 1190,
            "id_item": 37766639,
            "model": "s2",
            "id_item_brand": 37766640,
            "item_brand_description": "{ R1 } Repuesto Equivalente 1",
            "item_code_brand": "R1",
            "item_code": "Repuesto"
        },
        {
            "barcode": "987351324567",
            "brand": "Gates",
            "id": 5495,
            "id_company": 1190,
            "id_item": 37766639,
            "model": "s1",
            "id_item_brand": 37766641,
            "item_brand_description": "{ R2 } Equivalente 2",
            "item_code_brand": "R2",
            "item_code": "Repuesto"
        }
    ],
    "total": 2
}
Language