Response
| Field | Description | Type |
|---|---|---|
| status | "success|error|in progress" – status | |
| code | completion code | |
| message | error message | |
| cnt | Quantity of codes | integer |
| items | List of codes | array |
Note: The status "in progress" indicates that the request is still being processed when using the request_id parameter. This status was introduced to prevent the re-execution of requests with the same request_id if they have already been accepted for processing but not yet completed.
Items:
| Field | Description | Type |
|---|---|---|
| code | Marking code | string |
| hrc | Human-readable code | string |
| unit_id | Package ID | integer |
| unit_ext_id | Package ID in the manufacturer´s system | string |
Error codes:
| Field | Description | Type |
|---|---|---|
| 0 | Done | |
| 102 | Codes not generated yet | |
| 116 | Batch not found | |
| 158 | Invalid Highload frequency | |
| 161 | Request signature required | |
| 162 | Package sign validation error | |
| 189 | Document confirmed, modification not possible |