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
ProductManufactureBatchName | 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": "3db0f85c-b72c-4d99-9197-b97003246d7d", "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>3db0f85c-b72c-4d99-9197-b97003246d7d</PluGuid> </ProductManufactureBatch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.