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": "f760af71-5c57-48fe-910d-084876fbfafe",
"ClientId": "c05ddbdd-0086-4574-b572-0d52d7e9b764",
"ConsumedFromItems": [
{
"ItemId": "ee61a972-3935-46d8-af21-609a5390463d",
"PangId": "8c366d1d-897b-4e1e-8fdc-f0679e99d27d",
"BatchId": "0963b6a8-6fc7-497d-a01a-2558285564bd",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:27:13.0946016+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "ee61a972-3935-46d8-af21-609a5390463d",
"PangId": "8c366d1d-897b-4e1e-8fdc-f0679e99d27d",
"BatchId": "0963b6a8-6fc7-497d-a01a-2558285564bd",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:27:13.0946016+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"