Through this API you can consult the document management of the assets created in Fracttal.
The document management of all assets can be consulted or consult a particular asset by filtering by code and/or type of asset.
EndPoint
https://app.fracttal.com/api/items_document_management/:code
method GET
Input Parameters
Parameter | Type of field | Required | Description |
code | text | Optional | Code of the asset to obtain. |
item_type | Number | Optional | Filter by asset type. The following table shows the number that must be send according to the type of asset to be obtained: |
start | Entire | Optional | Register number from which the query will start. By default it starts at item 0. |
limit | Entire | Optional | Final register number that the query will return. By default 100 records are returned (Maximum Value) |
Output Parameters
Parameter | Type of field | Description |
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 | Boolean | In warranty. |
status | Boolean | Validity |
item_description | Text | Asset description |
id_type_item | Number | Asset type |
item_code | Text | Asset code |
Example:
Petition: (GET) https://app.fracttal.com/api/items_document_management/SL-PT-08
Example Response:
{
"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
}