DataLayer.REST
The DataLayer.REST element gives developers the ability to retrieve XML or JSON documents from a web service that uses Representational State Transfer (REST) protocols.
The following topics discuss the DataLayer.REST element:
- DataLayer.REST Attributes
- Working with DataLayer.REST
- Multi-Step Processing
- Using Different HTTP Methods and Request Body Data
- Using Studio's DataLayer Wizard
About DataLayer.REST
The element retrieves data from a REST-style web service, as either XML or JSON documents and will work with SSL-secured sites.
If you're trying to communicate with a web service that requires the TLS 1.1 or 1.2 protocol, you will need to use Logi Info v12.2-SP4 or later (earlier versions only support TLS 1.0). In addition, Info Java applications must use Oracle JDK 1.8 or OpenJDK 8 to make the protocol work.
Logi Info also includes DataLayer.XML and DataLayer.JSONfor use with REST-style web services and DataLayer.Web Service for use with web services that use the SOAP protocol.
To interact with REST-style web services from within a Process task, see Process Tasks.