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 | Receiving 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 | Sending department ID | Mandatory | 2.04 |
| depart_to_ext_id | string(250) | depart_to_id | integer | Receiving department ID | Mandatory | 2.04 |
| partner_fiscal_id | string | The fiscal ID (TIN) of the receiving company. *Mandatory only in case of external shipment - between different companies (different accounts in T&T system) | * | |||
| notes | string | Notes | ||||
| items | array | List of products for this document | ||||
| 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 | 2.11 | |
| cnt | integer | Quantity of codes | ||||
| items | array | List of codes | Mandatory | |||
| rejects | array | List of rejected goods |
Items:
| Parameter | Description | Type | Is it Mandatory to complete the field? | Reference |
|---|---|---|---|---|
| code | Marking code | string(1024) | Mandatory | |
| parent_code | Package marking code | string(1024) | ||
| defect_type_id | ID of the defect cause | integer | 2.10 |
Rejects:
| Parameter | Description | Type | Is it Mandatory to complete the field? | Reference |
|---|---|---|---|---|
| defect_type_id | ID of the defect cause | integer | Mandatory | 2.10 |
| cnt | Quantity of rejected goods | integer | Mandatory |