WebService REST
The WebService REST function of Panorama allows an application to use REST Web services to exchange data.
It includes the REST WebService Client object which enables sending HTTP requests (GET, POST, PUT, DELETE) to a web server from an application script, and processing the received responses.
Interoperability​
The REST WebService Client object allows the application to interface with any system exposing REST web services:
- When the exchanged data is in JSON format, the GET, POST, PUT and DELETE methods of the object enable the application's C# scripts to receive deserialized data ready to use. Similarly, the JSON serialization of data to be sent to the Web Service (POST or PUT requests) is handled by the REST WebService Client object.
- When the Web Service data is not in JSON format, the Send method of the object allows sending HTTP requests and receiving raw responses. The processing of received data is then the responsibility of the calling script.
Additionally, it is possible to manage:
- the content of the header and body (if necessary),
- different types of authentication by the application (client authentication by certificate, login/password, bearer, ...)
The benefits of the Panorama platform​
Naturally, the general characteristics of Panorama apply to this function. For example:
- The received data can be stored in Panorama properties. The acquired data thus benefits from all the suite's functions: alarm, archiving, calculation, …
- …
See Also​
In addition to this help, you will find implementation examples of the REST WebService Client on PanoXchange:


