By Steve Endow
I recently responded to a Business Central Community Forum post here:
While researching that question, I learned something from that forum post: $expand=*
Huh, I didn't know that was possible!
If you aren't familiar with the $expand OData query option, check out my blog post on the topic:
https://blog.steveendow.com/2021/09/using-metadata-and-expand-with-business.html
So it seems that you can use a wildcard with $expand to automatically expand all Navigation Properties available in a Business Central Web API endpoint. Very interesting!
I personally don't think I would ever recommend using such a query option in a real world API integration, but I was intrigued by the possibility!
So I fired up Postman and did some testing with my new found query option.
Query Option $expand=* |