Notifications
Announcements
No record found.
Yes, the $expand keyword in Business Central APIs follows the EntityName defined in the part declaration, not the actual variable name used in the part block. In your example:
$expand
EntityName
part
The $expand=currency works because it matches the EntityName = 'currency'. The name you use for the part (in this case, currency or currencies) is a local variable name for the page, but the API uses the EntityName property for $expand.
$expand=currency
EntityName = 'currency'
currency
currencies
If you were to change the EntityName to something else, like 'currencies', then you would need to use $expand=currencies in the API call. So the keyword for $expand is always derived from the EntityName, regardless of the part name you use.
'currencies'
$expand=currencies
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,856
Khushbu Rajvi. 765 Super User 2025 Season 2
YUN ZHU 581 Super User 2025 Season 2