{
"memberOneName": value,
"memberOneName": value
}
}
value = boolean | number | string | array | struct | enum
NOTE
It is possible to partially write a struct. That means it's possible to write for example only
one member of a struct by just transmitting only this one value and omitting the other
struct members.
NOTE
The order in which the members are transmitted doesn't matter.
7.4.6
Description of JSON REST
The description of the API can also be read out directly from the device, see
. The output is an OpenAPI description in JSON format and maps the interface
implemented in the device. This should be the preferred method, as it ensures compati‐
bility with the device and is also in machine-readable format.
7.4.6.1
Error messages
Table 15: JSON REST general error messages
HTTP
code
Message
Description
500
Internal
Server Error
{
"code": 101,
"message": "Internal server error"
}
NOTE
This error can occur with any request.
{
"code": 102,
"message": "Internal communication error"
}
404
Not Found
{
"code": 103,
"message": "Operation not supported"
}
NOTE
This error is returned if the requested function does not exist.
400
Bad Request
{
"code": 104,
"message": "Action locked by another client"
}
NOTE
Fieldbus controller or another participant blocks access
7
SIG200 CONFIGURATION
66
O P E R A T I N G I N S T R U C T I O N | Sensor Integration Gateway - SIG200
8017853.1D0S/2021-11-04 | SICK
Subject to change without notice