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": "18208907-5e75-4922-9a35-7a902c233079",
"ClientId": "8b0b540e-6623-4c62-bd2e-d5dafadeb301",
"ProductionOrderId": "a0ba663f-0462-46a0-a1e6-5fabaa685941",
"ItemId": "553af4f2-0a22-4c82-8e61-f29dda3f623b",
"ItemContentLocationBalanceId": "bf00ae05-edb7-4642-b909-9be1e3bcaede",
"RecipeLineId": "0298d477-455e-41a9-adc8-acc1e80f9de9",
"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"