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": "fe6283f9-a910-4f9d-9373-a861cf87b5be",
"ClientId": "5a86b906-8dc4-4625-bcd3-3b63c271034e",
"ConsumedFromItems": [
{
"ItemId": "eba5fa36-8f8f-4379-be12-893bbdc020d2",
"PangId": "27742a76-6902-4e19-9c4d-defe3d22e614",
"BatchId": "c2207b13-e229-4afb-bff7-a011c9b4b75e",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:38:16.9358812+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "eba5fa36-8f8f-4379-be12-893bbdc020d2",
"PangId": "27742a76-6902-4e19-9c4d-defe3d22e614",
"BatchId": "c2207b13-e229-4afb-bff7-a011c9b4b75e",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:38:16.9358812+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"