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": "8d3cc761-685d-47b0-a917-5624c062a8f1",
"ClientId": "5266f8ef-0243-4308-9f5d-0c040ca62fae",
"ConsumedFromItems": [
{
"ItemId": "ae2ab2e4-f2aa-48ff-a900-6b39666b1078",
"PangId": "e1283f4a-0a68-4883-a9f7-099404f34991",
"BatchId": "48367346-c7e1-4200-9a44-7df7ab3c2a2e",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T16:11:19.0248876+02:00",
"Quantity": 6.0,
"NetWeight": 7.0
},
{
"ItemId": "ae2ab2e4-f2aa-48ff-a900-6b39666b1078",
"PangId": "e1283f4a-0a68-4883-a9f7-099404f34991",
"BatchId": "48367346-c7e1-4200-9a44-7df7ab3c2a2e",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T16:11:19.0248876+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"