Using this API you can update the statuses of a work request created in Fracttal.
The statuses for which a request can be changed are:
Open
In Process
Resolved without TO
Cancelled
Rejected
And you can only change the status of an application if it is in one of the following statuses:
Open
In Process
Rejected
EndPoint
(PUT) https://app.fracttal.com/api/work_requests
Parameters Input in the Body
Parameter | Field type | Required | Description |
code | Number | Yes | Number of the request. |
user_code | Text | Yes | Code of the user updating the request |
id_status | Number | Yes | Number of the status for which you want to change the request: 1 : Open 2 : In process 4 : Resolved without TO 5 : Cancelled 12 : Rejected |
notes | Text | Optional | Notes on change of status |
date_new_status | Datetime | Optional | Date and time of the request status change. By default it is the current date and time. Format: 'YYYY-MM-DDTHH:MM:SS-UTC' Example: '2016-07-12T20:00:00-03'. |
Example:
Request:
Example Response:
{
"success": true,
"message": "200",
"data": [
{
"SUCCESS": "WORK_REQUESTS_UPDATED"
}
],
"total": 0
}