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": "9f508ec9-fa20-4b9c-994c-2cbee777e560",
"ClientId": "ba5cd602-444f-4eb9-9af9-13491fd6a9ac",
"ConsumedFromItems": [
{
"ItemId": "8fd06822-fef9-4b6a-82ce-c59d6f272404",
"PangId": "2f5b2da5-c6b7-4861-8db3-acd2a7359c55",
"BatchId": "f66b1397-caf6-4abf-b471-3d6280e087c5",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-08-24T14:35:14.3558021+02:00",
"Quantity": 6.0,
"NetWeight": 7.0
},
{
"ItemId": "8fd06822-fef9-4b6a-82ce-c59d6f272404",
"PangId": "2f5b2da5-c6b7-4861-8db3-acd2a7359c55",
"BatchId": "f66b1397-caf6-4abf-b471-3d6280e087c5",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-08-24T14:35:14.3558021+02:00",
"Quantity": 6.0,
"NetWeight": 7.0
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"