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": "24f87487-f353-4886-ac9e-dfcc2e9e9144",
"ClientId": "70c787bf-732a-42ff-a587-da079dff74db",
"ConsumedFromItems": [
{
"ItemId": "30b5356a-4d29-4f17-90d2-243be1a350c2",
"PangId": "c3acead1-7390-4510-be1b-09503a22b917",
"BatchId": "94c6234c-2fd2-4cce-88c2-5a6cdd11ac99",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T16:51:13.1413175+02:00",
"Quantity": 6.0,
"NetWeight": 7.0
},
{
"ItemId": "30b5356a-4d29-4f17-90d2-243be1a350c2",
"PangId": "c3acead1-7390-4510-be1b-09503a22b917",
"BatchId": "94c6234c-2fd2-4cce-88c2-5a6cdd11ac99",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T16:51:13.1413175+02:00",
"Quantity": 6.0,
"NetWeight": 7.0
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"