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": "50090b66-1ce2-4c3a-be4a-df6b0294a6e2",
"ClientId": "e4fe6617-6968-41bc-ac85-68dcad22ba52",
"ConsumedFromItems": [
{
"ItemId": "837b71ee-116b-4a13-9e91-d0c6b85a36da",
"PangId": "9a801ee7-f6f9-403a-a1f3-b9da7c4bb3c1",
"BatchId": "64218917-7137-4a9a-9ae0-b43c23aa25a2",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:25:52.5358133+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "837b71ee-116b-4a13-9e91-d0c6b85a36da",
"PangId": "9a801ee7-f6f9-403a-a1f3-b9da7c4bb3c1",
"BatchId": "64218917-7137-4a9a-9ae0-b43c23aa25a2",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:25:52.5358133+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"