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": "6c055e62-ee07-48e0-82d9-c11d09f9d6b0",
"ClientId": "c8725787-9d10-476b-aa6e-8fdccae513f2",
"ConsumedFromItems": [
{
"ItemId": "ebeb0dd7-3437-4db5-9f91-f7807a6fcad9",
"PangId": "ca3b81e5-3022-472c-872f-f285fa4a85c4",
"BatchId": "f29a7d1e-480a-4519-bad2-619787209c9a",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:24:28.6849552+02:00",
"Quantity": 6.0,
"NetWeight": 7.0
},
{
"ItemId": "ebeb0dd7-3437-4db5-9f91-f7807a6fcad9",
"PangId": "ca3b81e5-3022-472c-872f-f285fa4a85c4",
"BatchId": "f29a7d1e-480a-4519-bad2-619787209c9a",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-10-23T12:24:28.6849552+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"