Methods
(static) get/fabstitch/output/batch/:batchNumber/colours() → {Array.<coloursList>}
Route to return the list of colours based on oc number and product from DHU process
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.ocNumber |
String | The oc number |
req.query.batchNumber |
String | The batch number in location |
req.query.location |
String | The location associated with batch |
req.query.productCode |
String | The product code associated with oc number |
Returns:
List Of product from sage module:routers/v8/fabstitch/output/batch~coloursList
- Type
- Array.<coloursList>
(static) get/fabstitch/output/batch/:batchNumber/ocNumber() → {Array.<String>}
Route to return the list of OC numbers from DHU process for last 10 days in batch
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.batchNumber |
String | The batch number in location |
req.query.location |
String | The location associated with batch |
Returns:
List of OC numbers
- Type
- Array.<String>
(static) get/fabstitch/output/batch/:batchNumber/products() → {Array.<productList>}
Route to return the list of products based on oc number from DHU process
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.batchNumber |
String | The batch number in location |
req.query.ocNumber |
String | The OC number |
req.query.location |
String | The location associated with batch |
Returns:
List Of product from sage module:routers/v8/fabstitch/output/batch~productList
- Type
- Array.<productList>
(static) get/fabstitch/output/batch/:garmentQrCode() → {Array.<coloursList>}
Route to return the list of colours based on oc number and product from DHU process
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.ocNumber |
String | The oc number |
req.query.batchNumber |
String | The batch number in location |
req.query.location |
String | The location associated with batch |
req.query.productCode |
String | The product code associated with oc number |
Returns:
List Of product from sage module:routers/v8/fabstitch/output/batch~coloursList
- Type
- Array.<coloursList>
(static) get/fabstitch/output/batch/:garmentQrCode() → {Array.<coloursList>}
Route to return the list of colours based on oc number and product from DHU process
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.ocNumber |
String | The oc number |
req.query.batchNumber |
String | The batch number in location |
req.query.location |
String | The location associated with batch |
req.query.productCode |
String | The product code associated with oc number |
Returns:
List Of product from sage module:routers/v8/fabstitch/output/batch~coloursList
- Type
- Array.<coloursList>
(static) get/fabstitch/output/batch/:garmentQrCode() → {Array.<coloursList>}
Route to return the list of colours based on oc number and product from DHU process
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.ocNumber |
String | The oc number |
req.query.batchNumber |
String | The batch number in location |
req.query.location |
String | The location associated with batch |
req.query.productCode |
String | The product code associated with oc number |
Returns:
List Of product from sage module:routers/v8/fabstitch/output/batch~coloursList
- Type
- Array.<coloursList>
(static) get/fabstitch/output/location//:location/:ocNumber/finishingDropdown() → {Array.<ocNumberList>}
Route to return the list of oc number
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.location |
String | The location |
req.params.ocNumber |
String | The oc number |
Returns:
List Of product from sage module:routers/v8/fabstitch/output/batch~ocNumberList
- Type
- Array.<ocNumberList>
(static) get/fabstitch/output/location/:location/:ocNumber/:productCode/finishingDropdown() → {Array.<productCodeList>}
Route to return the list of product code and details
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.location |
String | The location |
req.params.ocNumber |
String | The oc number |
req.params.productCode |
String | The product code |
Returns:
List Of product from sage module:routers/v8/fabstitch/output/batch~productCodeList
- Type
- Array.<productCodeList>
Type Definitions
coloursList
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
coloursList.colourCode |
String | The colour code associated with OC number and product |
coloursList.colourDescription |
String | The colour description for colour code |
coloursList
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
coloursList.colourCode |
String | The colour code associated with OC number and product |
coloursList.colourDescription |
String | The colour description for colour code |
coloursList
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
coloursList.colourCode |
String | The colour code associated with OC number and product |
coloursList.colourDescription |
String | The colour description for colour code |
coloursList
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
coloursList.colourCode |
String | The colour code associated with OC number and product |
coloursList.colourDescription |
String | The colour description for colour code |
productCodeList
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
productCodeList.productCode |
String | The product code |
productCodeList.productDescription |
String | The product description |
productCodeList.colourCode |
String | The colour code |
productCodeList.colourDescription |
String | The colour description |
productCodeList.size |
String | The size |
productCodeList.sizeDescription |
String | The size description |
productCodeList.fitType |
String | The fit type |
productCodeList.serialNumber |
String | The serial number |
productCodeList.bundleBarcode |
String | The bundle barcode |
productCodeList.transactionNumber |
String | The transaction number |
productCodeList.poNumber |
String | The po number |
productCodeList.country |
String | The country |
productCodeList.layNumber |
String | The lay number |
productCodeList.defectAction |
String | The defect action |
productCodeList.handedTo |
String | The handed to |
productCodeList.productShade |
String | The product shade |
productCodeList.productShrinkage |
String | The product shrinkage |
productCodeList.productPattern |
String | The product pattern |
productCodeList.ocOrderQty |
String | The oc order quantity |
productList
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
productList.productCode |
String | The product code |
productList.productDescription |
String | The product description |