Audits: reconciling the actual stock at a storage location with the stock in Controlata. You pass the actual quantity, and Controlata compares it with the expected stock and adjusts the stock by the difference. Via the API you can create, edit and delete audits, change their status, and get a list and an audit'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/audits/add | Creates an audit |
| v1/audits/edit | Updates the audit lines |
| v1/audits/delete | Deletes an audit |
| v1/audits/update_status | Changes the audit status |
| v1/audits/get_list | Returns the list of audits |
| v1/audits/get_entry | Returns an audit with its lines |