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": "58b48b13-18dc-449f-9221-8b59a1883af9",
"ClientId": "baa38974-9618-40a8-9c6a-825b5008badf",
"ConsumedFromItems": [
{
"ItemId": "2f72ace8-1aee-4e78-9354-96b00cd4f6a2",
"PangId": "19a3d62d-27cf-4d47-bc01-3aa2f9f94443",
"BatchId": "05a34d4d-84a0-45c4-989d-0147035d29a4",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T16:09:37.6516941+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "2f72ace8-1aee-4e78-9354-96b00cd4f6a2",
"PangId": "19a3d62d-27cf-4d47-bc01-3aa2f9f94443",
"BatchId": "05a34d4d-84a0-45c4-989d-0147035d29a4",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T16:09:37.6516941+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"