Query string parameters
| Parameter | *Possible replacement ** | Description | Is it Mandatory to complete the field? | Reference | ||
|---|---|---|---|---|---|---|
| Name | Type | Name | Type | |||
| doc_ext_id | string(250) | doc_id | integer | Document ID in the manufacturer´s systems | ||
| dat | string | Utilization date, format "yyyy-mm-dd", by default dat is set to the current date | ||||
| num | string | Document number | ||||
| depart_from_ext_id | string(250) | depart_from_id | integer | Department ID | Mandatory | 2.04 |
| notes | string | Notes | ||||
| items | array | List of products | ||||
| request_id | string(250) | Unique request ID |
Note: If a request with an identifier (request_id) that has already been processed is received from the producer, the previous response will be returned.
Note: If a new request with the same parameters but a different request_id is received within 5 minutes of the initial request, it will be treated as a repeat of the previous request. The handling will be identical to that of a request with the same request_id. After 5 minutes, such a request will be treated as a new request.
Items:
| Parameter | *Possible replacement ** | Description | Is it Mandatory to complete the field? | Reference | ||
|---|---|---|---|---|---|---|
| Name | Type | Name | Type | |||
| assort_ext_id | string(250) | assort_id | integer | ID of the product | 2.11 | |
| unit_ext_id | string(250) | unit_id | integer | ID of the package that is being disposed | 2.11 | |
| defect_type_id | integer | ID of the defect cause | Mandatory | 2.10 | ||
| cnt | integer | Quantity of codes | ||||
| photo | string | defect photo|image base64-encodes png (200kb max) | ||||
| items | array | List of codes |
Items:
| Parameter | Description | Type | Is it Mandatory to complete the field? |
|---|---|---|---|
| code | Marking code | string(1024) | Mandatory |