Methods
(static) get/fabstitch/output/location/:location/batchNumber/:batchNumber/country() → {Array.<String>}
Get list of PO Numbers based on input scanned in specified location, batch number and oc number
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.location |
String | The location |
req.params.batchNumber |
String | The batch number for specified location |
req.query.ocNumber |
String | The ocNumber scanned in input process |
req.query.poNumber |
String | The ocNumber scanned in input process |
req.query.productCode |
String | The product Code scanned in input process |
req.query.fitType |
String | The fit Type scanned in input process |
req.query.colourCode |
String | The colour Code scanned in input process |
Returns:
The list of fitTypes
- Type
- Array.<String>
(static) get/fabstitch/output/location/:location/batchNumber/:batchNumber/fitTypes() → {Array.<String>}
Get list of fitTypes based on input scanned in specified location, batch number and oc number
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.location |
String | The location |
req.params.batchNumber |
String | The batch number for specified location |
req.query.ocNumber |
String | The ocNumber scanned in input process |
Returns:
The list of fitTypes
- Type
- Array.<String>
(static) get/fabstitch/output/location/:location/batchNumber/:batchNumber/poNumber() → {Array.<String>}
Get list of PO Numbers based on input scanned in specified location, batch number and oc number
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.location |
String | The location |
req.params.batchNumber |
String | The batch number for specified location |
req.query.ocNumber |
String | The ocNumber scanned in input process |
req.query.productCode |
String | The product Code scanned in input process |
req.query.fitType |
String | The fit Type scanned in input process |
req.query.colourCode |
String | The colour Code scanned in input process |
Returns:
The list of fitTypes
- Type
- Array.<String>
(static) get/fabstitch/output/location/:location/batchNumber/:batchNumber/register() → {Array.<outputList>}
Get output details from product dispatch associated to location and batch based on oc number , colour and country
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.location |
String | The location |
req.params.batchNumber |
String | The batch number for specified location |
req.query.ocNumber |
String | The product oc number in batch |
req.query.productCode |
String | The product code |
req.query.colourCode |
String | The product color code in batch |
req.query.fitType |
String | The product fit type |
req.query.orderType |
OrdertatusEnum | The order type (i.e, inhouse/jobwork) |
Returns:
The output details list from product dispatch and all sizes from markermodule:routers/v8/fabstitch/output/location/:location~outputList
- Type
- Array.<outputList>
(static) get/fabstitch/output/location/:location/batchNumber/:batchNumber/sizes() → {Array.<String>}
Get list of sizes based on input scanned in specified location, batch number, oc number and country code
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.location |
String | The location |
req.params.batchNumber |
String | The batch number for specified location |
req.query.ocNumber |
String | The oc number based on barcode scanned in input process |
req.query.productCode |
String | The product code associated with oc number |
req.query.colourCode |
String | The colour code associated with product code |
req.query.fitType |
String | The fit type of product |
req.query.orderType |
String | The order type |
Returns:
The list of sizes
- Type
- Array.<String>
(static) post/fabstitch/output/location/:location/batchNumber/:batchNumber() → {boolean}
Post batch size quantities
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.batchNumber |
String | The batch number |
req.params.location |
String | The location of the batch |
req.body.productCode |
String | The product code |
req.body.productDescription |
String | The product description |
req.body.ocNumber |
String | The oc number of product of the batch |
req.body.colourCode |
String | The colour code of product of the batch |
req.body.colourName |
String | The colour name of product of the batch |
req.body.fitType |
String | The fit type of product |
req.body.orderType |
String | The orderType |
req.body.poNumber |
String | The po Number |
req.body.country |
String | The country |
req.body.outputSizeQuantites |
Array.<outputSizeQuantity> | The list of output size quantites module:routers/v8/fabstitch/output/location/:location~outputSizeQuantity |
Returns:
- Type
- boolean
Type Definitions
outputDetails
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
outputDetails.outputSize |
Array.<String> | The ouput size |
outputDetails.outputQuantity |
Array.<outputDetails> | The output quantity for size |
outputDetails.outputDateTime |
Array.<outputDetails> | The output date time stamp in format d-m-yy h:m |
outputList
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
outputList.sizesFromMarker |
Array.<String> | Sizes from cutting maker |
outputList.outputDetails |
Array.<outputDetails> | The output details from product dispatchmodule:routers/v8/fabstitch/output/location/:location~outputDetails |
outputSizeQuantity
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
outputSizeQuantity.size |
String | The output size |
outputSizeQuantity.outputQuantity |
String | The output quantity |