Query work request

This EndPoint can be used to query work order information within a given date range.

This EndPoint can also be used to query information about all work requests or a specific one.

The "code" parameter in the URL is the request ID. It can be found in this same endpoint, id_code field.

Input parameters

Parameter Type Required Description
code *Text* Optional Request ID. Can be found in this same endpoint, _id_code_ field.
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. It can be: .
Value Description
date Date of creation of the Request (Default value)
date_incident Incident Date
date_solution Request Resolution Date
.
id\_status *Text* Optional Work Request Status Id, values can be: 1 - Open 2 - In Process 3 - Work Order in Process 4 - Resolved without Work Order 5 - Cancelled 6 - Resolved with Work Order 7 - Waiting for a Work Order 8 - Work Order in Review 9 - Work Order cancelled 10 - Waiting for another Work Order 11 - Request removed from Pending Tasks 12 - Rejected 13 - Created from Guest Portal.
identifier *Text* Optional Application reference
page *Integer* Optional Page number to be consulted.
start *Integer* Optional Initial record number to be displayed by the query. Default 0. All queries are limited to 100 records, when there are more than that amount this parameter should be used for pagination.
limit *Integer* Optional Number of records that the request will show. The default value is 100.

Output parameters

Parameter Type Description
id\_code *Text* Application ID
date *Text* Date Application created
is\_urgent *Text* True if the request is urgent, False otherwise
description *Integer* Description of the application
rating *Text* Qualification of the application
rating\_notes *Text* Application Qualification Notes
observation *Text* Comments on the application
date\_solution *Text* Date of solution
types\_description *Text* Group
items\_description *Text* Asset associated with the request
date\_status *Text* Date of last status change
requests\_x\_status\_notes *Text* Note of change of status
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* Application keywords
wo\_folio *Text* ID of the WO that is related to the request
date\_incident *Text* Date of initiation
parent\_description *Text* Location of the asset that is associated with the request
requests\_x\_status\_accounts\_name *Text* Name of the person who last changed the status 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

Example:

Request: (GET)https://app.fracttal.com/api/work_requests/381

{
  "success": true,
  "message": "200",
  "data": [
    {
      "id_code": 385,
      "date": "2016-11-30T19:44:07.361543+00:00",
      "is_urgent": false,
      "description": "AVERIA",
      "rating": null,
      "rating_notes": null,
      "observation": "REAPRAR",
      "date_solution": null,
      "types_description": "Electricidad",
      "items_description": "EQUIPO PARA EJEMPLO    ",
      "id_status": 7,
      "date_status": "2016-11-30T19:45:24.225016+00:00",
      "requests_x_status_notes": "REQUEST_TODO",
      "requests_x_status_description": "REQUEST_TODO",
      "accounts_name": "RICARDO ROMAN",
      "accounts_email": "[email protected]",
      "requests_x_key_words_descriptions": "Equipo Falla., Equipo en Cliente",
      "wo_folio": null,
      "date_incident": "2016-11-30T16:47:03",
      "parent_description": "// AMERICA/ UBICACION DE EJEMPLO/ EQUIPO PARA EJEMPLO/ ",
      "requests_x_status_accounts_name": "RICARDO ROMAN",
      "requested_by": "RICARDO ROMAN",
      "types_1_description": "EQUIPO FALLA",
      "types_2_description": "CLASIFICACIÓN 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
}

Test It

Path Params
string
required
Response
200
Language
LoadingLoading…