"status": status code,
"message": status code description
},
"data":
{
"name" : value
}
}
NOTE
If a method has no return value there will be no data inside the payload of the HTTP
Response.
The following table contains all defined status codes, messages and a detailed descrip‐
tion:
Table 13: Status codes / messages
Co
de
Message Description
0 Ok The Request was processed successfully.
1 Parsing failed Error while parsing the incoming JSON Object.
2 Invalid data Invalid data given for variable
3 Internal Server
Error
A generic error message, given when an unexpected condition was
encountered and no more specific message is suitable. Note: Property
“Message” might indicate more detail of error condition
4 Access denied The request was a valid request, but the server is refusing to respond
to it because of an access violation. In case of a variable access it is
possible that the variable is defined as read-only.
5 Not found Variable or method could not be found.
6 Out of range The value does not fit into the value field or it is too large, e.g. giving a
value that exceeds the minimum or maximum allowed value for this
variable.
7 Out of bounds An array was accessed exceeding its maximum length.
9 Illegal value A data condition was violated or the passed enum value was out of
range.
10 Invalid challenge Used challenge is expired or unknown.
11 Port not available Accessed IO-Link port cannot be accessed:
•
wrong configuration
•
missing IO-Link device
12 Communication
error
Accessed IO-Link port doesn’t provide a communication channel:
•
Reading process data in/out when not available
NOTE
No certain response time is guaranteed since the HTTP requests rely on standard TCP
mechanism. The simultaneous usage of the Web UI or SopasET results in an increasing
response time.
7.4.5 Data Types
In this chapter each supported Data Type will be discussed. Please note that each
example is nested inside a JSON object. The first value, wrapped in double quotes, rep‐
resents the name and the second one the actual value.
SIG200 CONFIGURATION 7
8017853/2019-06-06 | SICK O P E R A T I N G I N S T R U C T I O N | Sensor Integration Gateway - SIG200
57
Subject to change without notice