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/v7/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/v7/fabstitch/output/batch~productList
- Type
- Array.<productList>
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 |
productList
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
productList.productCode |
String | The product code |
productList.productDescription |
String | The product description |