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": "acf50c96-7805-4521-b023-d3ee2f81c858",
"ClientId": "91fa89d5-8213-44c9-a380-c52c3fff6f52",
"ProductionOrderId": "bbd45b7b-b355-4a0a-bc62-e6addf4d932a",
"ItemId": "b23c5c95-7774-4bfa-a910-ade155816e03",
"ItemContentLocationBalanceId": "23bd8c61-34d3-49e9-a965-1cd879c0e2d9",
"RecipeLineId": "94d955a3-dbd5-4fa3-a1cd-0da528375446",
"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"