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": "21e304c2-7a04-4f20-8d00-a749868470e7",
"ClientId": "40427a17-0c12-40bb-8a03-3e04d9bd669d",
"ConsumedFromItems": [
{
"ItemId": "090700af-be64-4bda-bd0a-ceea63244d77",
"PangId": "43a4a0d2-1cb1-4674-98d0-85851a8ca958",
"BatchId": "67b97a37-6ead-4c46-b33d-9f2818ce0ebc",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-08-24T14:34:23.5149726+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "090700af-be64-4bda-bd0a-ceea63244d77",
"PangId": "43a4a0d2-1cb1-4674-98d0-85851a8ca958",
"BatchId": "67b97a37-6ead-4c46-b33d-9f2818ce0ebc",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-08-24T14:34:23.5149726+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"