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": "c3336a9a-70a7-4d0d-9184-1583c01757db",
"ClientId": "a80ea7a6-dbe1-44c3-8154-47c62244afb1",
"ProductionOrderId": "478674eb-f066-4677-9b44-af8bc28645aa",
"ItemId": "6d209a0b-2810-4574-afb4-355af2a46329",
"ItemContentLocationBalanceId": "0a0e8ab5-0056-4abb-bd19-38412f70b462",
"RecipeLineId": "1ee1ffc5-928d-41ce-9ff2-bbc517b65c86",
"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"