Methods
(static) get/fabstitch/batch/:batchNumber/fitTypes() → {Array.<String>}
Fetch list of fit types based on batch number, oc number, product and location
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.batchNumber |
String | The batch number |
req.query.ocNumber |
String | The OC number in batch |
req.query.productCode |
String | The product code in batch |
req.query.location |
String | The location of the batch |
Returns:
return the list of fit types
- Type
- Array.<String>
(static) get/fabstitch/batch/:batchNumber/ocNumber() → {Array.<String>}
Route to return the list of OC numbers for barcode scanned in input process for last 3 days in batch
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.batchNumber |
String | |
req.query.location |
String |
Returns:
List of OC numbers
- Type
- Array.<String>
(static) get/fabstitch/batch/:batchNumber/schedule() → {batchDefaultSchedule}
Get default batch schedule i.e, work in-time, work out-time, break in-time, break out-time
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.batchNumber |
String | The batch number |
req.query.location |
String | The location of the batch |
Returns:
The default time of batch based on locationmodule:routers/v7/fabstitch/batch/:batchNumber~batchDefaultSchedule
- Type
- batchDefaultSchedule
(static) get/fabstitch/batch/:batchNumber/sizes() → {Array.<String>}
Fetch sizes based on batch number, oc number, product and location
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.batchNumber |
String | The batch number |
req.query.ocNumber |
String | The OC number in batch |
req.query.productCode |
String | The product code in batch |
req.query.location |
String | The location of the batch |
req.query.fitType |
String | The fit type in batch |
Returns:
return the list of sizes
- Type
- Array.<String>
Type Definitions
batchDefaultSchedule
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
batchDefaultSchedule.workStartTime |
String | The batch work start time in location |
batchDefaultSchedule.workEndTime |
String | The batch work end time in location |
batchDefaultSchedule.breakStartTime |
String | The batch break start time in location |
batchDefaultSchedule.breakEndTime |
String | The batch break end time in location |