get https://app.fracttal.com/api/work_requests_status
This EndPoint can be used to query the status changes of work requests.
Input parameters
Parameter | Type | Required | Description |
---|---|---|---|
code | Text | Optional | Application Id. |
since | Text | Optional | Initial date of the query. Format: 'YYYY-MM-DDTHH:MM:SS-UTC' Exempla:'2016-07-12T20:00:00-03'. |
until | Text | Optional | End date of the query. Format: 'YYYY-MM-DDTHH:MM:SS-UTC' Exempla:'2016-07-12T20:00:00-03'. |
start | Integer | Optional | Initial record number to be displayed by the query. |
limit | Integer | Optional | Final record number to be returned by the query. |
Output parameters
Parameter | Type | Description |
---|---|---|
id_request | Number | Request ID |
id_status | Number | Request status id |
status_description | Text | Description of the status of the request - "OPEN_STATUS" : Open - "PROCESS_STATUS" : In process - "SOLVED_WITHOUT_OT_STATUS" : Solved without TO - "REQUEST_TODO" : In pending tasks - "OT_IN_PROCESS" : TO in process - "OT_IN_REVIEW" : TO under review - "OT_CANCEL" : TO cancelled - "SOLVED_WITH_OT_STATUS" : TO cancelled OT in process - "OT_IN_REVIEW" : OT under review - "OT_CANCEL" : OT cancelled - "SOLVED_WITH_OT_STATUS" : Solved with OT - "AGAIN_REQUEST_TODO" : Back in pending tasks - "DELETE_TASK_TODO" : Removed from pending tasks - "CANCEL_STATUS" : Cancelled - "REJECTED" : Rejected |
date | Text | Date of change of status |
notes | Text | Notes on change of status |
accounts_name | Text | User who made the status change |
count_comments | Text | Number of comments that the change of status has |
Example:
Request: (GET) https://app.fracttal.com/api/work_requests_status/?code=678
{
"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_TODO",
"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": "FALLAS EN LA IMPRESORA",
"accounts_name": "Alejandra Arango",
"count_comments": 0
}
],
"total": 4
}
Test It