8.2
Dual Talk
8.2.1
Communication via REST-API
The SIG350 provides a REST API with JSON data format for accessing the data of the
connected devices. These operating instructions provide an overview of the available
device functions and the access mechanisms.
The REST API interface corresponds to the standard of the IO-Link community, which
was defined in the document “JSON Integration for IO-Link” with version 1.0.0 (as of
March 2020, part number 10.2020).
8.2.1.1
General description of the interface
The REST API is a client-server interface and enables the client to request data from
the server via defined resources. The REST API is stateless, which means that no
information about the connection status and no information about the server or client
is required.
The operation is based on HTTP methods. Common HTTP methods are GET, POST,
PUT and DELETE. For the SIG350, the GET and POST request methods are particularly
relevant, where the request and response data is represented in JSON format. JSON,
or JavaScript Object Notation, is a minimal, visually readable format for structuring
data. It is mainly used to transmit data between a server and a web application as an
alternative to XML.
Table 10: HTTP methods
HTTP method
Description
GET
Requests the specified data from the server (= data is only read and
not changed)
POST
The payload is transmitted to the server (= write data)
8
OPERATION
38
O P E R A T I N G I N S T R U C T I O N S | Sensor Integration Gateway - SIG350
8027836./2022-06-10 | SICK
Subject to change without notice