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": "a7f87d4d-12f8-4c29-9a4f-3f4d4c82ebd6",
"ClientId": "f2711547-b911-4e1b-9daf-d85c025cd2d3",
"ProductionOrderId": "9bae1c69-8894-4693-a416-4a0ff19b784f",
"ItemId": "17dcf94e-3f0d-4993-bbd2-da8b46126a41",
"ItemContentLocationBalanceId": "3ff5b224-0a64-43ff-9a34-4843f0d1b57e",
"RecipeLineId": "f07c55d0-88e3-4e3b-b680-9e8d7a1c434a",
"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"