API Endpoints
Fracttal →

Update values in custom fields of assets

You can use this API to update the values of the custom fields of assets.

To use this API, the asset must have previously assigned the catalog or group of custom fields.

Input parameters

ParameterTypeRequiredDescription
codeTextOptionalCode of the asset
id_type_itemNumberRequiredType of asset that the custom field is related to.
Value according to asset type: 1: Locations
2: Equipment
3: Tools
4: Parts and Supplies
5: Digital
id_custom_fieldNumberRequiredId of the custom field. This value is obtained from the field ID of the following web service: https://api.fracttal.com/reference/consultar-campos-personalizados-de-los-activos
valueTextRequiredCustom field value

Output parameters

ParameterTypeDescription
id_itemIntegerAsset Id
codeTextAsset code
descriptionTextDescription of asset
label_nameTextDescription of the custom field
valueTextCustom field value
id_custom_field_groupIntegerCustom group ID
id_custom_field_typeIntegerId of the custom field type

Example:

Petición: (PUT) https://app.fracttal.com/api/items_custom_fields/7543

{
      "id_type_item": 1,
      "id_custom_field": "7",
      "value":"40.00"
}

TEST IT

Language