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": "04fa30e4-a1e6-40dc-9bd0-a7c4aefd5ec0",
"ClientId": "dfc8d2b2-b30f-4193-8936-341d69db11f7",
"ConsumedFromItems": [
{
"ItemId": "153c01b7-1e00-4fb7-a9df-d05701d5b0da",
"PangId": "5e315a5b-ca1b-4545-9f24-6c1674962c4b",
"BatchId": "f2cbd2d9-b03b-4008-9b0a-9f13ca67c717",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T11:37:02.3951094+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "153c01b7-1e00-4fb7-a9df-d05701d5b0da",
"PangId": "5e315a5b-ca1b-4545-9f24-6c1674962c4b",
"BatchId": "f2cbd2d9-b03b-4008-9b0a-9f13ca67c717",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T11:37:02.3951094+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"