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": "4a845470-e4a5-46dd-9894-5089a26a18f5",
"ClientId": "506db7a9-01e4-4a09-9bff-b8b58a932c95",
"ConsumedFromItems": [
{
"ItemId": "723fe080-c4d2-41c2-9a13-77e0b3d279e0",
"PangId": "02e3f876-f4fa-4aff-ab80-fbd87e8d57ca",
"BatchId": "753702ef-88c5-43ab-88f9-7f5af3014fbb",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T09:45:33.1399342+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "723fe080-c4d2-41c2-9a13-77e0b3d279e0",
"PangId": "02e3f876-f4fa-4aff-ab80-fbd87e8d57ca",
"BatchId": "753702ef-88c5-43ab-88f9-7f5af3014fbb",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T09:45:33.1399342+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"