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": "4e0980f0-da45-46f5-8cf7-b8627f220271",
"ClientId": "743de0e6-6bf2-4bb6-ab01-b18c23126703",
"ConsumedFromItems": [
{
"ItemId": "a67e15bb-043e-49d7-9080-5de2de42c59f",
"PangId": "64cabd04-7178-4218-aef2-550a6c04d585",
"BatchId": "7df8dd62-dab9-4657-a66b-a2771b72cc3e",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-08-24T14:18:42.7977991+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "a67e15bb-043e-49d7-9080-5de2de42c59f",
"PangId": "64cabd04-7178-4218-aef2-550a6c04d585",
"BatchId": "7df8dd62-dab9-4657-a66b-a2771b72cc3e",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-08-24T14:18:42.7977991+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"