Methods
(static) get/fabstitch/batch/:batchNumber/resource/validate() → {boolean}
Validate batch resource
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.batchNumber |
String | The batch number |
req.query.location |
String | The location of the batch |
Returns:
return boolean status
- Type
- boolean
(static) post/fabstitch/batch/:batchNumber/resource() → {boolean}
post resource details for associate batch and location
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.batchNumber |
String | The batch number |
req.body.location |
String | The location of the batch |
req.body.numberOfMachines |
number | The allocated number of machines for mentioned date |
req.body.numberOfHelpers |
number | The allocated number of helpers for mentioned date |
req.body.actualWorkStartTime |
String | The actual work start time for mentioned date in batch with time format "hh:mm" |
req.body.actualWorkEndTime |
String | The actual work end time for mentioned date in batch with time format "hh:mm" |
req.body.actualBreakStartTime |
String | The actual break start time for mentioned date in batch with time format "hh:mm" |
req.body.actualBreakEndTime |
String | The actual break end time for mentioned date in batch with time format "hh:mm" |
Returns:
return boolean status
- Type
- boolean