By natively supporting OData, Epicor ERP web services allow for easy consumption from tools that leverage the
protocol. You can have a refreshable spreadsheet against a live data source. Build pivot tables, charts against the
16 Epicor ERP | 10.2.400
Display Data in OData Applications Epicor REST Services v.2
feed for quick reports. Do the following to use REST services to pull Epicor data within an Excel spreadsheet. You
can then format this live data display as you need.
Note OData v4 is supported by MS Excel® 2016 or higher.
Important To be able to get data from a Service/BAQ feed into Excel using REST API v.2, you must:
• exclude the api-key parameter from your requests, and
• disable the default API Key requirement for REST requests by setting the value of the
EnforceApiKeyForRestApiV2 tag in the appSettings section of the system configuration file to false.
Launch Microsoft® Excel®.
In the Main menu, select the Data tab.
From the Menu Ribbon, select the Get Data option.
From the Get Data list, select the From Other Sources > From OData Feed.
The OData Feed dialog displays.
Epicor ERP | 10.2.400 17
Epicor REST Services v.2 Display Data in OData Applications
For the URL, enter the resource you wish to display in this Excel spreadsheet. For example: https://EpicorServer/ERP102400/api/v2/odata/EPIC06/Erp.Bo.CustomerSvc/Custo
mers
The following URL can be used to display data from the Customer Contacts Business Activity Query: https://EpicorServer/ERP102400/api/v2/odata/EPIC06/BaqSvc/COM-CustContacts/
Data
Note If you connect to the Epicor application server for the first time, you will be prompted to define
the Authentication settings. Select the Basic tab. Enter your Epicor user credentials, select which level
to apply these settings to, and click Connect.
Click OK. The query results dialog box displays.
18 Epicor ERP | 10.2.400
Display Data in OData Applications Epicor REST Services v.2
Click Load.
The resource data is loaded into the current Excel spreadsheet.
You can then use table design tools to format how this data displays; review your Microsoft® Excel®
documentation for more information.
Now you have a live data linked Epicor and all what you need to do next time is right click on any place on this data then select Refresh.
Note: you will need to Enter your Epicor username and password per each link you create.