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": "ee8193b3-1a81-479a-8603-98fc2d366f62",
"ClientId": "888d965d-3153-4fcd-bcc3-e9fae515bad9",
"ConsumedFromItems": [
{
"ItemId": "fadeae2c-42c0-4757-9377-1bb90e038425",
"PangId": "6be9d56e-6fae-4f0c-9743-fd5a7b9f4740",
"BatchId": "548ccc81-fab6-43d1-9676-727413a5b3c5",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:25:49.5155817+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "fadeae2c-42c0-4757-9377-1bb90e038425",
"PangId": "6be9d56e-6fae-4f0c-9743-fd5a7b9f4740",
"BatchId": "548ccc81-fab6-43d1-9676-727413a5b3c5",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:25:49.5155817+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"