So my ongoing challenges with Odata continue.
You may not be aware, but Excel has 2 oData drivers, a legacy and a new one. The new one is the same as used in power bi.
Should result in a catalog with a schema of BAQ’s under proper REST guidelines.
If you put this in the legacy driver, excel will return a list of BAQ’s and you can select one OR MORE and pull them into a data model.
If you use the newer driver, you get a 404 Error. I tried it with a datawarehouse tool that used the cData driver and get the same 404 error. Their analysts looked at it and said Epicor isn’t properly supporting the $metadata tag on the service.
REST Service Root URL has changed the format to include the current Company. The /api/v1/ segment of the request URL has been replaced with /api/v2/odata/.
The format of Business Activity Queries (BAQs) data requests has changed to include /Data in the request URL. This is critical for enabling REST API compatibility with Microsoft® Excel® 2016/365. Refer to the BAQ Feeds topic of this guide for detailed information and examples (Display Data in OData Applications Display in Excel Table).
It says to refer to the baq feeds section of ‘this guide’. Do you have a link to where you got this or can you tell me where to locate it? Epicor has a built in web page for the rest stuff, but it all relates to v1.
Just remember that this web.config fix is not available to those on SaaS because Epicor won’t make a config change as it applies to multiple customers in this multi-tenant hybrid hosting arrangement they have.