Is OData $expand supported in NAV 2016 Web Services

Hi,

I’m trying to access NAV 2016 data that is exposed through OData Web services. When I try to use the $expand to include the navigation properties data inline with the request, I am getting an error. Is this OData feature supported in NAV 2016? I went into the Role Tailored Client application but I didn’t see any way to configure relationships in the Web Services area. I have been able to perform all other CRUD operations and $batch operations except this one.

Example request

xxxxxxx/…/SalesOrder

Returns the error:

<?xml version="1.0" encoding="utf-8" ?>

<m:error xmlns:m="">schemas.microsoft.com/…/metadata">

<m:code />

<m:message xml:lang=“en-US”>An error occurred while processing this request.</m:message>

</m:error>

Thanks,