Skip to main content

Product Listing - listProducts()

Product Listing

The listProducts method on the Horoz Logistics E-Export Integration can be used to list the products that will be used in the order creation step in the Horoz system from the Horoz Logistics system. Important information about the listProducts() method and the things to be considered when listing products in the Horoz Logistics system are listed below for the information of the clients.

  • The listProducts() method is a RESFtul web service method that receives data in JSON format with the POST method.

  • When sending a request for product listing to the Horoz system with the listProducts() method, information about the product definition must be passed to the body part of the method in the JSON data type. The processKey information of the client must be passed to the header part of the method in parameter type. The submission made with the listProducts() method must be encoded as UTF-8 and transmitted to Horoz Logistics E-Export Integration Web service.

  • The listProducts() method can be used as a list to be displayed for selection on the product definition screen or order entry screen of the products registered in the Horoz Lojistik system with the reateProduct() method.Especially on the order entry screen, it is necessary to create a list that will enable the seller to easily select the products defined in the system according to the container definition types in the product definition structure.For this reason, the list has been created as master and detail.

  • For the component product, information such as total desi and total kg, stacking status of the wardrobe will be included in the master section, and the sub-parts representing the product components will be included in the detail section.It should be used in the light of this information according to the design to be made.

  • It must be ensured that the number of containers to be placed on the ETGB is in compliance with the sales quantity within the order and with the container definition type. For example, for a wardrobe, considering that 2 units are sold and that there are 5 components, the sales quantity required to arrive within the order is expected to be 2 and the container quantity is expected to be 10.

  • The listProducts method is the function that returns the list of products, which is defined into the Horoz system, to the client. The listProducts method available within the E-Export integration web service, takes the productCode and productName values as the parameters as a POST method in JSON format. The relevant method returns the information about the productCode, productNameTr, productGroupCode, productGroupName, width, length, height, gross, netKg, desi, ean, logCode, packageType, stackStatus, containerDefination, isMasterProductRecord, masterProductRecordId to the client in response to the request parameters received.

  • While querying the products by means of the listProducts() method, the query may be performed on the basis of product code or product name, or only on the basis of product code or only on the basis of product name. In addition, when the product code and product name information is empty and/or null, the information about all valid product groups, which are defined in the Horoz system for the relevant company, is returned to the client. While querying a product, productCode information is expected to be entered as the master product code for component products.


POST listProducts()

Parameter Descriptions & Rules

The following table shows the input and output parameters of the listProducts() operation and their The types and formats of the parameters are listed.

PARAMETERDESCRIPTIONDATA TYPELENGTHFIELD LOCATIONREQUIRMENT
processKeyprocessKey information defined for the clientstring100HeaderMandatory
productCodeUnique product code informationstring100inBody RequestMandatory
productNameUnique product name informationstring500inBody RequestMandatory

Service Responses

You can access the successful/unsuccessful service responses here.