Production: making products from their components. You pass only the products and quantities, and Controlata calculates the consumption of materials, used products and resources from the product components, and the cost by FIFO. Via the API you can create, edit and delete production runs, change the status, and get a list and a production's details.
Method paths are given relative to the base API URL; the rules common to all methods (authorization, request format, partial editing, pagination) are described in API Overview and Common Rules.
Methods
| Method | What it does |
|---|---|
| v1/production/get_statuses | Returns the company's production statuses |
| v1/production/add | Creates a production run |
| v1/production/edit | Updates a production run |
| v1/production/delete | Deletes a production run |
| v1/production/update_status | Changes the production status |
| v1/production/get_list | Returns the list of production runs |
| v1/production/get_entry | Returns a production run with its products and consumption |