POST api/Consumption/FromItemContent
Register consumption from item content
Request Information
URI Parameters
None.
Body Parameters
ConsumeFromItemContentParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| SystemUserId | globally unique identifier |
None. |
|
| ClientId | globally unique identifier |
None. |
|
| ProductionOrderId | globally unique identifier |
None. |
|
| ItemId | globally unique identifier |
None. |
|
| ItemContentLocationBalanceId | globally unique identifier |
None. |
|
| RecipeLineId | globally unique identifier |
None. |
|
| RecipeType | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| NetWeight | decimal number |
None. |
|
| Comment | string |
None. |
|
| CommentOnConsumptionOfRestricted | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SystemUserId": "36c3a0c0-a0df-48a2-9209-6ba5362bafac",
"ClientId": "cfe48f5e-6fef-4ec7-8dbe-dd91afc3fadf",
"ProductionOrderId": "9ccb4726-8841-46d5-b5be-217de0e28263",
"ItemId": "d3c96783-1488-4e8c-b924-08871d5b5f6e",
"ItemContentLocationBalanceId": "a2e4a3de-182d-4866-820c-31f4c471f548",
"RecipeLineId": "df65e908-aae5-42ee-8e6a-26eabaccbb7a",
"RecipeType": 7,
"Quantity": 8.0,
"NetWeight": 9.0,
"Comment": "sample string 10",
"CommentOnConsumptionOfRestricted": "sample string 11"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"