Through this API, material request note can be updated when it is in the "No purchase order" status.
Method: PUT
Endpoint:
https://app.fracttal.com/api/material_requests/:id
:id = material request Id
This id is the id parameter, in the web service (GET) Get Material Requests.
Input parameters:
Body
Parameter | Type | Required | Description |
note | Text | Yes | Material Request Note |
Output parameters
Parameter | field type | Description |
success | Boolean | true if the insert was successful or false otherwise |
message | Text | 200 - successful |
data | Text | null |
Example:
Request: https://app.fracttal.com/api/material_requests/1318851
{
"note":"Prueba de actualización desde API"
}
Answer :
{
"success": true,
"message": "200",
"data": null,
"total": 1
}