createRESTDataConnector |
DataConnectors.createRESTDataConnector( baseUri ) |
Creates a RESTful Data Connector constructed with a base URI that provides the following functionality:
- Direct communication with a REST service without having to call com.ebasetech.xi.services.RestServices API helper functions.
- Customisable headers are sent with all REST calls.
- Authentication can be sent with all REST calls.
- Error handling for typical HTTP error codes.
- Response handling for Data Connector REST calls.
|
getDataconnectors |
DataConnectors.getDataconnectors( ) |
Namespaced map of REST Data Connectors prefixed with connectors.dataconnectors.
|
getErrors |
DataConnectors.getErrors( ) |
The com.ebasetech.xi.services.Errors is a server side JavaScript object that contains functions that allows the creation of customizable error handling functionality specifically for the HTTP error response status returned from the server, for example a 404 Not Found error. |
getConfig |
DataConnectors.getConfig( name ) |
Returns the Data Connector Configuration configured using the Server Administration Console. |
getVerjio |
DataConnectors.getVerjio( ) |
Namespaced map of REST Data Connectors prefixed with connectors.verjio.
|
DataConnectors
API provides the functionality to create, namespace and configure com.ebasetech.xi.api.connectors.DataConnectors#createRESTDataConnector(String).The com.ebasetech.xi.api.connectors.RESTDataConnector are wrapped inside a JavaScript object that are namespaced into one of two locations:
The
DataConnectors
API provides a function to retrieve the com.ebasetech.xi.api.connectors.DataConnectors#getConfig(String) from the Server Administration ApplicationFurther documentation.