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": "c701e260-7d8a-4d81-a0f5-0b7455a51e4a",
"ClientId": "f8ff671d-dc85-493e-b21d-d066afdcdf44",
"ProductionOrderId": "c5dcc03c-7098-4816-8df0-8ab70cf72dda",
"ItemId": "24e22b2c-88a3-4a82-9fdf-00add38a5417",
"ItemContentLocationBalanceId": "15c3c015-8740-43a3-8174-288a7977ef8b",
"RecipeLineId": "ece808f5-0e79-4265-9e56-9cef352b267d",
"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"