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": "275b0f8c-9ffd-47bf-8cb0-3a68af7e86d1",
"ClientId": "add8821b-fee5-4ac4-b91c-d8a7f3693b22",
"ProductionOrderId": "697dbee8-a44e-461e-931b-143de4328b59",
"ItemId": "04d038b4-3cc6-4751-b45b-299ff3893416",
"ItemContentLocationBalanceId": "c2b37507-3c93-47a0-a112-0b6676886010",
"RecipeLineId": "a81b7168-8196-45ab-8bde-7c415a1d3b83",
"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"