get https://app.fracttal.com/api/items_document_management
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
Parameter | Type | Required | Description |
---|---|---|---|
code | Text | Optional | Code of the asset to be obtained. |
id_type | Number | Optional | Filter 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 |
start | Integer | Optional | Record number from which the query will start. By default it starts at item 0 |
limit | integer | Optional | Final 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:
Parameter | Type | Location (id_type_item = 1) |
---|---|---|
name | Text | Name |
description | Text | Description |
groups_attached_description | Text | Group |
versión | Text | Version |
valid_from | Date | Valid since |
valid_through | Date | Valid until |
author | Text | Author |
field_3 | Text | Model |
code_iso | Text | ISO code |
is_warranty</code | Boolean | True False |
status | Boolean | True False |
item_description | Text | Description of asset |
id_type_item | Number | Type of asset |
item_code | Text | Asset 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