Sample API Call - Power Query

The example that follows uses the Microsoft Excel Power Query plug-in; however an array of applications, frameworks and plug-ins can be used. To obtain a full list of supported API Consumers, please visit http://www.odata.org/ecosystem/- Consumers tab. For instructions on connecting with other API Consumers, please see the tool's native help documentation.

To set up an API connection using Power Query

  1. Download Power Query.
  2. From the Microsoft Excel ribbon, click the Power Query tab.
  3. PowerQuery Tab
  4. Click the From Other Sources drop-down arrow and select From oData Feed.
  5. From oData Feed

    The OData Feed pop-up window displays.

    oDATA Feed Popup Window
  6. In the URL field, enter API.e-builder.net/eBoDataAPI.svc/
  7. To access a specific cost entity, include it at the end of the URL. For example, to query Invoices, enter the URL as follows: https://api.e-builder.net/eBoDataAPI.svc/Invoices. If an entity is not specified, a list of all available entities will display. For a complete list and their conventions, see Supported e-Builder Entities.

  8. Click OK.
  9. The Access an oData feed window displays.

  10. From the Left Navigation pane, click Basic.
  11. Basic Option
  12. Enter your e-Builder username and API access key.
  13. Select the second radio button option, https://api.e-builder.net/eBoDataAPI.svc
  14. Click Save.
  15. The Power Query spreadsheet displays.

  16. From the Navigator, located on the right-side of the page, double-click an object to display its contents.
  17. Navigator and Preview Window

    The output file displays in a preview window.

    Sample Output File