POST api/product/{id}/manufacture
Record a batch of manufacture for a product, deducting inventory from ingredient products and incrementing product inventory
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Product identifier |
globally unique identifier |
Required |
Body Parameters
Product manufacture batch details
ProductManufactureBatch| Name | Description | Type | Additional information |
|---|---|---|---|
| InventoryReason |
Hardcoded to Manufacture Product |
InventoryReasons |
None. |
| PluGuid | globally unique identifier |
None. |
|
| BatchCount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"inventoryReason": 19,
"pluGuid": "5810ffaa-5f8b-410f-b36a-5c890828069b",
"batchCount": 1.1
}
application/xml, text/xml
Sample:
<ProductManufactureBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products"> <BatchCount>1.1</BatchCount> <PluGuid>5810ffaa-5f8b-410f-b36a-5c890828069b</PluGuid> </ProductManufactureBatch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.