Request
In order to set up the application for service you should consider the following aspects. Once the setup has been made, you should click on the Test button to make the request.
Operation
You should indicate the method or type of operation: Reading, Writing, Updating or Deleting.
Endpoint
You should enter the endpoint or URI of the server where the database is located, without indicating the protocol.
A technical structure is as follows, where the server can be an IP address or domain.
{{server}}:{{port}}/{{{nameData
In the Authentication tab you must enter user and password of the database.
If you require other authentication, please contact support.
Pool of connections
A pool of connections is a limited set of connections to a database, which is handled by an application server, in a form that such connections can be reused by different users to increase efficiency. The management of a pool favors the scalability and performance of an application.
You can set up the number of initial connections, the maximum number of active connections and standby connections.
Connection properties
Connection properties allow you to specify connection settings to the database. Some databases have predefined connection properties, but you can modify them or add new properties.
Review the documentation of connection properties based on the type of database you were using.
List of tables
By completing the configuration of the connection, you could test the connection to the database. If the connection is successful, the list of tables in the database would be displayed and the query statement could continue to be entered.
Judgment or consultation
Depending on the type of CRUD operation you have selected, you could enter the judgment or consult the database.
In the content of the statement you can add mapping and then set them as parameters of your API method.
For example, this is a typical case of the use of mapping:
SELECT * from users WHERE accountId = {{accountId}} ORDER BY created {{order}}
{{accountId}} and {{order}} are the mapping names and parameters that would be displayed in the data view and API method.
Answer
Once the judgment has been entered, it could execute it using the Preview button.
To process the answer you can select whether or not to include titles or headers.
So far it has configured its data source from the web service. You should now create a data view to continue the process.