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": "f705444f-9a1a-4012-8370-d557ad1815b7",
"ClientId": "aaaca90e-6100-4e05-a076-08c35dadbd95",
"ConsumedFromItems": [
{
"ItemId": "e96ee005-8abb-4d37-9012-5339aa83c824",
"PangId": "d0e230c8-4c67-4446-a818-0f38ee4549d4",
"BatchId": "5c6aa53c-3540-4b93-aebf-2f5af6fe7ba9",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T16:09:28.0670946+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "e96ee005-8abb-4d37-9012-5339aa83c824",
"PangId": "d0e230c8-4c67-4446-a818-0f38ee4549d4",
"BatchId": "5c6aa53c-3540-4b93-aebf-2f5af6fe7ba9",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T16:09:28.0670946+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"