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": "b6dd580d-5b3d-4f44-a844-b91538eb4428",
"ClientId": "811608f9-b919-4a8b-85c4-1d18a6ac74df",
"ConsumedFromItems": [
{
"ItemId": "e8d4191d-c10e-47e4-88f3-d433b6cbf354",
"PangId": "325f1675-3ae7-40e2-b369-8c335549df67",
"BatchId": "df11516e-20c8-48a8-b8e9-ea2e5dd551ab",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:13:57.4937172+02:00",
"Quantity": 6.0,
"NetWeight": 7.0
},
{
"ItemId": "e8d4191d-c10e-47e4-88f3-d433b6cbf354",
"PangId": "325f1675-3ae7-40e2-b369-8c335549df67",
"BatchId": "df11516e-20c8-48a8-b8e9-ea2e5dd551ab",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:13:57.4937172+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"