The Reporting API allows you to load your Meisterplan data into a Microsoft Excel file. You only need to enter a few details to download the data you need for your reports.
- Loading Meisterplan Data in MS Excel
- Loading Data with a Report Template
Ensure that the following prerequisites are met to access Meisterplan data with MS Excel:
- Create an API token in your Meisterplan user profile and save it to a secure location.
- Install MS Excel 2019. Earlier versions do not support the required queries.
Loading Meisterplan Data in MS Excel
Download your Meisterplan data into a MS Excel file and create pivot reports, import the data into other tools or combine it with data from other sources.
To retrieve the data of an endpoint, follow these steps:
- Open an empty MS Excel file and save it to your computer. Then select Data > Get Data > From Other Sources > From Web:
- In the From Webwindow, select the Advanced option and enter the URL of the respective API endpoint in the URL parts field. Under HTTP request header parameters, enter "Authorization" and next to it "Bearer <api-token>" with your API token:
- When you click OK, MS Excel retrieves the data and the Power Query Editor window opens where you can transform the data into a table.
Filtering with Query Parameters
Query parameters are filters that define which endpoint details should be retrieved. This could be, for example, the date range with the query parameters startDate and finishDate, or the required scenario with the parameter scenario. If no filters are defined, default values are used.
This is how you add filters to your query:
"<URL endpoint>?<query parameter>=<value>"
For data security reasons, we recommend authenticating with the HTTP header as described above. However, for a quick start you can also add your API token as part of the URL using this structure:
"<URL endpoint>?access_token=<api token>"
The Reporting API endpoint returns data in a so-called JSON format. In the MS Excel Power Query Editor, you can transform the data into a table in three easy steps:
- Click List to transform the original JSON object into a list that contains the elements of the next level:
- Click To Table and accept the default settings in the new window by clicking OK. The list is then transformed into a table, and each line contains a JSON object with the values of the respective columns:
- Click the double arrow icon on the upper right of the column and then click ;OK. The available fields are extracted and transformed into table columns. You can uncheck the Use original column name as prefix box as this is not necessary with this data:
We recommend renaming the tables to be more descriptive. For example, the table below could be renamed to Milestones:
If you want to undo one or more of the steps described above, you can do this from the Applied Steps list on the right:
Your data is now ready for further processing. Click Close and Apply in the upper left to load the data and return to the main screen.
Repeat these steps for each endpoint whose data you want to load in MS Excel. You can find all API endpoints with a short description and its respective URL in the API documentation.
Loading Data with a Report Template
Get started with our MS Excel template and load the data of three endpoints at once: Projects, Allocation Slices and Resources. Two pivot tables give an example of how you can use the raw data for creating reports, e.g., to display allocations per projects or per resources.
Simply enter your API token and your server's location, then go to the Data tab and click Refresh All. Refresh the two pivot sheets, too, or start preparing your own pivot table from the raw data.