The Data warehouse API is based on OData (Open Data Protocol), which is an OASIS standard that defines a set of best practices for exposing data (usually business related) to be easily read and modified by partners. The standardised protocol enables seamless integration with tools like Microsoft® Excel®, Tableau®, SAP® tools, IBM® tools and many more. In most cases you only need a URL identifying the API to be consumed and a set of credentials. This document contains information about how to interact with the itslearning data model exposed via our Data Warehouse API.

Enabling the API

Access to the Data warehouse API is usually via an add-on module and must be enabled by itslearning. Please contact your sales representative/account manager or your local itslearning service team to inquire about making the API available for a specific site. Once you have been given access to the site you will need to activate access to data from the data warehouse. The steps to access the data are as follows:

  1. Get confirmation of activation from your sales representative/account manager.
  2. Get your service endpoint URL from the Admin menu → Data and reports → Data Warehouse API. This will be needed your reporting/BI tool the data warehouse.
  3. Activate access to Data Warehouse/OData from within itslearning.
  4. Get the OData service credentials to access the from within itslearning. Use username and password in the BI tool.

Service Endpoint URL to Access the OData API

The OData "endpoint" denotes the location on the web service from where you can access your data. The proper URL is presented in Admin → Data and reports → Data Warehouse API section of the application.

OData Service Login credentials

The credentials (username and password) from an itslearning admin user account is required to access OData API. These are the same credentials that your BI/reporting tool will use.

You can create a specific administrator account within itslearning to access the OData API. 

  • The account must be an administrator. Student or guest accounts will not be able to access the API.
  • The account must be a "native" itslearning account created in itslearning. Usernames and passwords from SSO or other authentication options will not work. E..g. you cannot use an Active Directory login.
  • It is possible to lock a the user account, and so access to Odata API by providing an incorrect password multiple times in a row, just like in itslearning.
  • It is vital that the user name and password for this account are kept secret and you should use both a complex user name and a complex password to protect access to your data. If you forget or need to change these, you can so it is better to start with complexity and security from the beginning.

Activating Access to the OData API from itslearning 

Even if you have created an administrator account, access to the OData API is not yet enabled. As default, no administrator has access to the OData API.

The administrator account must have the 'Data Warehouse API' policy. This grants that user access to the API. A profile can be used to give the policy to just that user account.

Note: Only administrator roles can access the API. Even if the API profile setting or policy is given to a non-administrator (e.g. student) the credentials will not work. This is a security feature to protect access to sensitive data.

Accessing OData from 3rd Party Tools

It is important when accessing the OData APO to make sure you follow our best practice guidelines.

Currently Itslearning supports:

This API should be usable with any tool that can use an OData API as a data source, or connect via an ODBC driver.

For many tools you will need to enter the location of the feed and then the credentials of the administrator account with access to the Data Warehouse.

Most reporting tools will have a similar login UI:

Logging in with Chrome

Microsoft Excel

Example: Accessing OData from Power BI

Microsoft Power BI

Example: Accessing OData from Excel

OData feed: add URL from access as presented in Admin → Data and reports → "Data Warehouse API" section in the application. Use "Basic" authentication with username and password of the user created to access odata.

Choose table or tables which you need load and click choose "Load" button.