Establishing a Connection
Configure a Connection Profile
From the CData ribbon, click Get Data and select From REST connection/s to launch the CData Query window. To setup a new connection, you will have to click the New REST Connection button. Here you can set the connection settings, test the connection, and save the connection profile.
Modeling XML/JSON/CSV Data
The DataModel property controls how your data is represented into tables.
- Document (default): Model a top-level, document view of your REST data. The add-in returns nested object arrays as aggregated XML/JSON/CSV objects.
- FlattenedDocuments: Implicitly join nested array objects and parent objects into a single table.
- Relational: View nested object arrays as individual, related tables containing a primary key and a foreign key that links to the parent document.
Set Format to XML, JSON, or CSV in accordance with the data structuring standard used by the REST source you want to connect to. and set DataModel to more closely match the data representation to the structure of your data.
Next Steps
- See Modeling REST Data for information on customizing schema discovery and executing SQL to REST.
- See Fine-Tuning Data Access for more advanced connection settings: fine-tune the default data modeling settings, connect through a firewall, or troubleshoot connections.
Connection Properties
The Connection properties describe the various options that can be used to establish a connection.
Managing Connections
After successfully authenticating to REST you will be able to customize the data you are importing. To learn more about this, see Managing Connections.
See Also
- Querying Data: Use the data selection wizard to pull data into a spreadsheet. You can also configure scheduled data refresh here.
- Using the Excel Add-In: Find other ways to interact with REST data, such as using the available CData Excel Functions.