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": "44699b38-f999-4157-8941-87c77c449cca",
"ClientId": "655edaf9-305a-440e-a171-4f2e3c844dbb",
"ConsumedFromItems": [
{
"ItemId": "2c9edefd-d100-468e-a6e8-20ac456e5009",
"PangId": "30c25123-dd5e-4d20-b72d-f9a31874060c",
"BatchId": "ed435d0b-bff0-4a38-af56-77a90d9cd617",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T10:46:56.8428467+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "2c9edefd-d100-468e-a6e8-20ac456e5009",
"PangId": "30c25123-dd5e-4d20-b72d-f9a31874060c",
"BatchId": "ed435d0b-bff0-4a38-af56-77a90d9cd617",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T10:46:56.8428467+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"