put https://app.fracttal.com/api/work_requests
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 WO -Canceled -Declined
And you can only change the status of an application if it is in one of the following statuses:
-Open -In Process -Declined
Input parameters
Parameter | Type | Requured | Description |
---|---|---|---|
code | Number | Yes | Application number. |
user_code | Text | Yes | Code of the user updating the request. |
id_status | Number | Yes | Number of the status for which you wish to change the request: 1 : Open 2 : In process 4 : Resolved without TO 5 : Cancelled 12 : Rejected |
notes | Text | Optional | Notes on change of state |
Example:
Request: (PUT) https://app.fracttal.com/api/work_requests?code=359&user_code=25198772-2&id_status=12¬es=integración
{
"success": true,
"message": "200",
"data": [
{
"SUCCESS": "WORK_REQUESTS_UPDATED"
}
],
"total": 0
}
Test It