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": "76a1d3bc-ec58-4884-b844-64c0b09f06a0",
"ClientId": "81142aab-45db-446c-89f9-6640afbf0c69",
"ProductionOrderId": "54abcc6e-11c7-4c7f-ac1e-6470d7785a77",
"ItemId": "f46aea07-ebf8-40e8-85ef-81b5698a08f3",
"ItemContentLocationBalanceId": "b41c70da-9a16-46a0-bd09-f2156d276ef4",
"RecipeLineId": "c38b2cd0-3809-4285-991f-e3a459abb8e4",
"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"