Using this EndPoint you can query status changes of work requests.
EndPoint
https://app.fracttal.com/api/work_requests_status/: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'. |
start | Integer | Optional | Initial record number that the query will return. |
limit | Integer | Optional | Final record number that the query will return. |
Output parameters
Parameter | Field type | Description |
id_request | Number | Request ID |
id_status | Number | Request status id |
status_description | Text | Description of application status - OPEN_STATUS" : Open - "PROCESS_STATUS" : In process - "SOLVED_WITHOUT_OT_STATUS" : Solved without OT - "REQUEST_TODO" : In pending tasks - "OT_IN_PROCESS" : OT in process - "OT_IN_REVIEW" : OT under review - "OT_CANCEL" : OT cancelled - "SOLVED_WITH_OT_OT_STATUS" : Solved with OT - "AGAIN_REQUEST_TODO" : Back to task pending - "DELETE_TASK_TODO" : Removed from pending tasks - "CANCEL_STATUS" : Canceled - "REJECTED" : Rejected |
date | Text | Date of change of status |
notes | Text | Status change notes |
accounts_name | Text | User who made the status change |
count_comments | Text | Number of comments on the status change |
Example:
Example Request: https://app.fracttal.com/api/work_requests_status/?code=678
Example Response:
{
"success": true,
"message": "200",
"data": [
{
"id": 3231183,
"id_company": 69,
"id_request": 678,
"id_status": 3,
"status_description": "OT_IN_PROCESS",
"date": "2022-01-18T14:00:29.142833+00:00",
"notes": "OT_IN_PROCESS",
"accounts_name": "Alejandra Arango",
"count_comments": 0
},
{
"id": 3229773,
"id_company": 69,
"id_request": 678,
"id_status": 7,
"status_description": " REQUEST_ALL ",
"date": "2022-01-18T12:44:36.337556+00:00",
"notes": "REQUEST_TODO",
"accounts_name": "Alejandra Arango",
"count_comments": 0
},
{
"id": 3229761,
"id_company": 69,
"id_request": 678,
"id_status": 2,
"status_description": "PROCESS_STATUS",
"date": "2022-01-18T12:43:52.951288+00:00",
"notes": "",
"accounts_name": "Alejandra Arango",
"count_comments": 0
},
{
"id": 3229746,
"id_company": 69,
"id_request": 678,
"id_status": 1,
"status_description": "OPEN_STATUS",
"date": "2022-01-18T12:42:56.045973+00:00",
"notes": " PRINTER FAILURES ",
"accounts_name": "Alejandra Arango",
"count_comments": 0
}
],
"total": 4
}