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": "1272fac2-808d-441b-bdf2-ea09ea175ec0",
"ClientId": "6120ec40-def5-4369-b6db-577d6949c5b5",
"ConsumedFromItems": [
{
"ItemId": "f6262856-7d98-4e33-8c99-48031574b064",
"PangId": "1ca2a44a-98e1-4947-b8c0-ac37aa7800e6",
"BatchId": "63c7059a-9f2b-4e25-a951-0b2714a6970c",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T16:28:34.7819054+02:00",
"Quantity": 6.0,
"NetWeight": 7.0
},
{
"ItemId": "f6262856-7d98-4e33-8c99-48031574b064",
"PangId": "1ca2a44a-98e1-4947-b8c0-ac37aa7800e6",
"BatchId": "63c7059a-9f2b-4e25-a951-0b2714a6970c",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-06-25T16:28:34.7819054+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"