21 / 48
The reproduction, distribution and utilization of this document as well as the communication of its contents to others without
express authorization is prohibited. Offenders will be held liable for the payment of damages.
All rights reserved in the event of the grant of patent, utility model or design.
14.04.2020
Version 1.18.0
Sensor data
REST
Request
Name
counts/MyLine1
URL
https://[deviceIP]:[restPort]/apiv1/sensorData/counts/[countingLine-
Name]
Availability
APS-RS firmware 1.10
Method
Data
Result
HTTP Status
Comments
GET
NONE
JSON container with
count results
200 - OK on success
400 - Bad Request on internal
error → additional information in
JSON error payload
401 - Unauthorized – The request
requires an user authentication
Returns accumu-
lated count
results of specific
counting line
POST
—
not supported
405 - Method Not Allowed
PUT
NONE
NONE
200 - OK on success
400 - Bad Request on internal
error → additional information in
JSON error payload
401 - Unauthorized – The request
requires an user authentication
Count results of
specific counting
line will be set to
zero
(but only for the
Rest interface)