61) Access OData entities for non-default companies – D365 FO
By default, OData retrieves the data from the default company where the user is mapped to in Users form.
In order to get the data from non-default companies, just add ‘cross-company = true’ after the URL and filter.
For example,
https://BaseURL/data/CustomersV3(dataAreaId='ABC',CustomerAccount='ABC12')?cross-company=true
I tried the same from Postman and got the expected result
Comments
Post a Comment