API Endpoints
Fracttal →

Query document management of an asset

Using this API, you can view the document management of assets created in Fracttal.

You can consult the document management of all assets or consult a particular asset by filtering by asset code and/or type of asset.

Input parameters

ParameterTypeRequiredDescription
codeTextOptionalCode of the asset to be obtained.
id_typeNumberOptionalFilter by asset type.
The following table shows the number to send according to the type of asset you want to obtain:
1: Locations
2: Equipment
3: Tools
4: Spare Parts and Supplies
5: Digital
startIntegerOptionalRecord number from which the query will start. By default it starts at item 0
limitintegerOptionalFinal record number to be returned by the query. By default 100 records are returned (Maximum value).

Output parameters

Configurable output parameters that vary according to the type of asset:

ParameterTypeLocation (id_type_item = 1)
nameTextName
descriptionTextDescription
groups_attached_descriptionTextGroup
versiónTextVersion
valid_fromDateValid since
valid_throughDateValid until
authorTextAuthor
field_3TextModel
code_isoTextISO code
is_warranty</codeBooleanTrue
False
statusBooleanTrue
False
item_descriptionTextDescription of asset
id_type_itemNumberType of asset
item_codeTextAsset code

Example:

Petition: (GET) https://app.fracttal.com/api/items_document_management/SL-PT-08

{
    "success": true,
    "message": "200",
    "data": [
        {
            "id_company": 133,
            "id_group_attached": 1,
            "groups_attached_description": "POLIZAS DE GARANTIAS",
            "description": "",
            "name": "seguro contra incendios",
            "version": "",
            "valid_from": "2019-01-01T03:00:00+00:00",
            "valid_through": "2019-12-31T03:00:00+00:00",
            "author": "",
            "code_iso": "2019",
            "is_warranty": true,
            "id_item": 4871,
            "id_attached": 122,
            "id": 268,
            "status": true,
            "item_description": "SALA DE PARTO   {  }",
            "id_type_item": 1,
            "item_code": "SL-PT-08"
        }
    ],
    "total": 1
}

Test iT

Language