The related operation for the deletion of inventory measures is described.
Details of the request:
- Base URL: {host}/AFLSAPI/
- URI: /api/inventory/measure/{UniqueCode}
-
Type: DELETE
-
Required headings:
- Content-Type: application/json
- X-Authorization: Bearer {Token}
URL Description
- {host}: It represents the domain of the environment in which the API is located.
- AFLSAPI/: Fixed API prefix.
- URI: Specific endpoint for the request.
⚐ EXAMPLE URL:
https://{host}/AFLSAPI/api/inventory/measure/{UniqueCode}
Parameters:
Name | Data type | Obligatory | Description |
---|---|---|---|
uniqueCode | Integer | Yes | Measure Identifier |
Answer:
As an answer, a JSON object is obtained, with the following information:
{
"description": "Metros Actualizado",
"isActive": true,
"name": "Metros",
"uniqueCode": 1
}
Error messages:
Code | HTTP status | Error Message |
---|---|---|
400 | BadRequest | No information found. |
500 | Internal Server Error | FailureLogin |