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": "ad3952aa-f3e1-45f6-b9b7-8988534792fb",
"ClientId": "02d920e4-7c2a-46e8-8cf5-feb131d93308",
"ConsumedFromItems": [
{
"ItemId": "6af04730-472b-4250-b708-f9ea1f4420b4",
"PangId": "e3eb3c10-b01d-46d0-b486-d81bb5847651",
"BatchId": "33045808-c05d-4cf7-9e0c-d45fb219b40a",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-08-24T14:34:21.2763498+02:00",
"Quantity": 6.0,
"NetWeight": 7.0,
"Comment": "sample string 8"
},
{
"ItemId": "6af04730-472b-4250-b708-f9ea1f4420b4",
"PangId": "e3eb3c10-b01d-46d0-b486-d81bb5847651",
"BatchId": "33045808-c05d-4cf7-9e0c-d45fb219b40a",
"BatchNumber": "sample string 4",
"ExpireDate": "2026-08-24T14:34:21.2763498+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"