Product Transfer (createProduct)
Product Transfer
When uploading your material work orders to the Horoz system, the createProduct()
method is used. It supports both single and multiple material submissions.
- Before material transfer is carried out using this method, details regarding Horoz Parametric Property information must be communicated to Horoz Logistics.
- The maximum number of materials that can be sent within each request is 1,000.
POST createProduct
Use
Parameter Descriptions & Rules
The table below lists the input and output parameters of the createProduct()
operation, along with their types and formats.
- Fields
- Example Services Request
- Example Response
Parameter | Mandatory | Description | Data Type |
---|---|---|---|
processKey | Yes | Information provided to you for processKey | string |
ProductList | Yes | Material Line Information. | ProductListDto |
{
"processKey": "string",
"productList":
[
{
"productCode": "string",
"productName": "string",
"productDescription": "string",
"serialNumberTracking": "string",
"dataTransferInfo": "string",
"parameter01": "string",
.
.
"parameter50": "string",
"productSizes":
{
"parameter01": "string",
.
.
"parameter50": "string",
"measuringUnit": "string",
"width": "string",
"length": "string",
"height": "string",
"grossWeight": "string",
"netWeight": "string",
"lengthUnit": "string",
"weightUnit": "string",
"isConsumerUnit": "string",
"isSalesUnit": "string",
"dataTransferInfo": "string"
}
}
]
}
{
"result": "0",
"errorCode": "",
"systemMessage": " "
}
ProductList
- Fields
Parameter | Mandatory | Description | Data Type |
---|---|---|---|
ProductCode | Yes | Material Code | string |
ProductName | Yes | Material Name | string |
ProductDescription | No | Material Description | string |
SerialNumberTracking | No | Serial Number Tracking | string |
DataTransferInfo | No | Data Transfer Information | string |
ProductSizes | No | Material Sizes | ProductSizesDto |
ProductSizes
- Fields
Parameter | Mandatory | Description | Data Type |
---|---|---|---|
MeasuringUnit | No | Measurement Unit | string |
Width | No | Width | string |
Length | No | Length | string |
Height | No | Height | string |
GrossWeight | No | Gross Weight | string |
NetWeight | No | Net Weight | string |
LengthUnit | No | Length Unit | string |
WeightUnit | No | Weight Unit | string |
IsConsumerUnit | No | Consumer Unit | string |
IsSalesUnit | No | Sales Unit | string |
DataTransferInfo | No | Data Transfer Information | string |
Services Response
result | errorCode | systemMessage | Description |
---|---|---|---|
1 | Material information sent to the Horoz system has been successfully transferred. | ||
0 | 101 | DUPLICATE MATERIAL RECORD! | Material information sent to the Horoz system already exists. |
0 | 101 | UNDEFINED SUPPLIER! | Supplier information sent to the Horoz system is undefined. |