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": "66eba0b0-52f0-4bfe-ab9a-ac362bef86b4",
"ClientId": "f2a60f0d-229a-4116-b8d0-b7750b5f4456",
"ProductionOrderId": "45fb65ee-bd29-4af8-8308-72a846ca0768",
"ItemId": "ade3da05-619c-472c-b7e0-d589c7f3c172",
"ItemContentLocationBalanceId": "9d830ec0-51fe-4d25-a00a-5147a099f5c4",
"RecipeLineId": "20d53415-913f-4ca5-94ad-e7e54d54a1b2",
"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"