Download OpenAPI specification:
API for managing external data delivery.
All endpoints in this API require a valid authentication token.
You can obtain your authentication token in your instance of OktoPOS Manager:
System under the OktoPOS menu.All paths mentioned in this API documentation must be
prefixed with the Base URL specified under
info/servers/url in this document.
This endpoint records dispensed items for a specific device.
A JSON array must be provided in the request body, where each product is referenced by its assigned product code in the article record.
| deviceId required | string The unique identifier of the device. |
| productCode required | string Unique identifier for the product. A device specific product code. |
| productName | string The name of the dispensed product. |
| amount required | number <float> The amount of product dispensed. |
| unit | string The unit in which the product amount is measured. Only the following abbreviations of SI-Units are allowed: l (liters), ml (milliliters), g (grams), kg (kilograms), mg (milligrams). If no unit is given, the base unit of the referenced article will be used. |
| effectiveTime required | string <date-time> The time at which the dispensing occurred. A date in ATOM format is expected (e.g., '2023-10-18T10:20:30Z'). |
[- {
- "productCode": "P12345",
- "amount": 2.5,
- "unit": "liters",
- "effectiveTime": "2023-10-01T12:00:00+02:00"
}, - {
- "productCode": "P67890",
- "amount": 1,
- "unit": "liters",
- "effectiveTime": "2023-10-01T12:30:00Z"
}
][- {
- "status": "success",
- "message": "Dispensed items recorded successfully."
}
]