Using this EndPoint you can query the information of work requests between a given date range.
EndPoint
https://app.fracttal.com/api/work_requests/:code
Input Parameters
Parameter | Field type | Required | Description |
code | Text | Optional | Request ID. |
since | Text | Optional | Initial date of the query. Formato: 'YYYY-MM-DDTHH:MM:SS-UTC' Ejemplo:'2016-07-12T20:00:00-03'. |
until | Text | Optional | End date of the query. Formato: 'YYYY-MM-DDTHH:MM:SS-UTC' Ejemplo:'2016-07-12T20:00:00-03'. |
type_date | Text | Optional | Type of date to make the query. Can be: |
page | Integer | Optional | Value / Description |
start | Integer | Optional | date / Date of creation of the Request (Default value) |
limit | Integer | Optional | date_incident / Date of Initiation |
Output parameters
Parameter | Field type | Description |
id_code | Text | Application ID |
date | Text | Request creation date |
is_urgent | Text | True if request is urgent, False otherwise |
description | Integer | Description of the request |
rating | Text | Request Qualification |
rating_notes | Text | Request Qualification Notes |
observation | Text | Request Remarks |
date_solution | Text | Date of solution |
types_description | Text | Group |
items_description | Text | Active associated with the request |
date_status | Text | Date of last status change |
requests_x_status_notes | Text | Note of status change |
requests_x_status_description | Text | Description of current status |
accounts_name | Text | User who created the request |
accounts_email | Text | Email of the user who created the request |
requests_x_key_words_descriptions | Text | Keywords of the request |
wo_folio | Text | ID of the TO that is related to the request |
date_incident | Text | Date of the incident |
parent_description | Text | Location of the asset that is associated with the request |
requests_x_status_accounts_name | Text | Name of the person who made the last status change of the request |
requested_by | Text | Requested by |
types_1_description | Text | Classification 1 |
types_2_description | Text | Classification 2 |
identifier | Text | Reference |
geolocation | Text | Geolocation |
Output parameters
Example:
Example Request: https://app.fracttal.com/api/work_requests/381
Example Response:
{
"success": true,
"message": "200",
"data": [
{
"id_code": 385,
"date": "2016-11-30T19:44:07.361543+00:00",
"is_urgent": false,
"description": "DAMAGE",
"rating": null,
"rating_notes": null,
"observation": "REPAIR",
"date_solution": null,
"types_description": " Electricity ",
"items_description": " EQUIPMENT FOR EXAMPLE ",
"id_status": 7,
"date_status": "2016-11-30T19:45:24.225016+00:00",
"requests_x_status_notes": "REQUEST_ALL",
"requests_x_status_description": "REQUEST_ALL",
"accounts_name": "RICARDO ROMAN",
"accounts_email": "[email protected]",
"requests_x_key_words_descriptions": "Equipment Failure, Equipment Customer",
"wo_folio": null,
"date_incident": "2016-11-30T16:47:03",
"parent_description": "// AMERICA/ EXAMPLE LOCATION / EQUIPMENT FOR EXAMPLE / ",
"requests_x_status_accounts_name": "RICARDO ROMAN",
"requested_by": "RICARDO ROMAN",
"types_1_description": " EQUIPMENT FAILURE ",
"types_2_description": " CLASSIFICATION 2",
"identifier": "",
"geolocation": "{\"latitude\":-33.4213982,\"longitude\":-70.60434660000001,\"hour\":\"2016-11-30 4:47 PM\",\"address\":\"San Pío X 2449, Providencia, Región Metropolitana, Chile\"}",
}
],
"total": 1
}