Load Kit using API
iHub - Load Product Masters
Clients can call the “Load Product Masters” service using iHub and set a new “Kit” property to
{ "ProductMaster":{ "Kit":true } } |
Steps in Loading Product Masters
In loading the product masters using API in JSON format, the user may follow the below steps:
The user must login in iHub and change the correct client.
Note: If no permission, please ask our support members for assistance.
Once done changing the client, the user must go to Support > REST Testing Tool.
The user will be redirected to the list of iHub APIs’ and must select the “Load Product Masters” and click the “Load a new Product Master”.
Then the user must change the Parameter content type to “application/json”, then an example value will be shown that can be used and edited in loading the product.
E.G
{ "ProductMaster": { "Kit": "TRUE", "ProductDescription": "TEST SAMPLE KIT_01_DESC", "DateControlled": true, "LotControlled": true, "ProductCode": "TEST SAMPLE_KIT_01_CODE", "SupplierCode": "TESTSUPPLIERCODE", "SupplierDescription": "Test Supplier Description" } } |
Once the user is done populating the request, the user must click the “Try it out!” button to load the request, and a response will be shown.
The user can also check the hub Activity menu to see the log by clicking the “View” button:
Note: Wait the Products to be uploaded in the system before uploading the Kit Component in “Load Kit” service.
iHub - Load Product Master Updates
Clients can call the “Load Product Master Updates” service using iHub to update the “Kit” property used to identify a Product Master as a Kit
{ "ProductMaster":{ "Kit":true } } |
If a Product Master “Kit” property is currently set to “True” then a client can update this to “False” if there are no components assigned to the Kit.
If a Product Master “Kit” property is currently set to “False” then a client can update this to “True” if the current Product Master is NOT a component product of another Kit Product Master.
iHub - Load Kit
Clients can load Kits using iHub via the “Load Kit" service. This will allow clients to specify one or many “Component SKU’s” and a quantity that makes up the kit per DC.
Clients can also call this service to revise an existing Kit.
Steps in Loading Kit
In loading the product Kit using API in JSON format, the user may follow the below steps:
The user must login in iHub and change the correct client.
Once done changing the client, the user must go to Support > REST Testing Tool.
The user will be redirected to the list of iHub APIs’ and must select the “Load Kit”.
Then the user must change the Parameter content type to “application/json”, then an example value will be shown that can be used and edited in loading the Kit.
E.G
{ "Dc": { "DCCode": "DCCL01" }, "KitProductMaster": { "KitProductCode": "TEST SAMPLE_KIT_01_CODE", "KitProductDescription": "TEST SAMPLE KIT_01_DESC" }, "KitComponents": { "KitComponentLineItems": [ { "KitComponentProductCode": "TEST SAMPLE_KIT_001_COMP_CODE", "KitComponentQuantity": 1 }, { "KitComponentProductCode": "TEST SAMPLE_KIT_002_COMP_CODE", "KitComponentQuantity": 2 } ] } } |
Once the user is done populating the request, the user must click the “Try it out!” button to load the request, and a response will be shown.
The user can also check the hub Activity menu to see the log by clicking the “View” button:
The uploaded Kit can be viewed in the “Kit List” menu, both DC and Client users can be given access to the menu item:
Note: If no permission, please ask our support members for assistance.
Using this Menu, users can view the Kits loaded in Seko 360 and the Components that make up the Kits.