POST api/Consumption/FromItems
Register consumption from items
Request Information
URI Parameters
None.
Body Parameters
ConsumeFromItemsParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| SystemUserId | globally unique identifier |
None. |
|
| ClientId | globally unique identifier |
None. |
|
| ConsumedFromItems | Collection of ConsumeFromItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"SystemUserId": "b0493b95-d5c7-4115-8fca-d401a65ebf49",
"ClientId": "9cad85f3-534c-4f4a-aec5-8ec08e7232b6",
"ConsumedFromItems": [
{
"ItemId": "9c1bfb78-4946-493b-8ced-6fa71662face",
"PangId": "9358295d-6122-4136-b80b-bcc9d910e31d",
"BatchId": "58373430-e5ce-4117-8d61-825c25467bfe",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-08-24T14:33:12.0076198+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "9c1bfb78-4946-493b-8ced-6fa71662face",
"PangId": "9358295d-6122-4136-b80b-bcc9d910e31d",
"BatchId": "58373430-e5ce-4117-8d61-825c25467bfe",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-08-24T14:33:12.0076198+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"