---
id: post/yzhums-com/70369
type: post
title: "Dynamics 365 Business Central: Does the API support Multi-level Expand (Multi layers)"
summary: The Business Central REST API supports multi-level expand (nested data retrieval) using nested parentheses in $expand syntax, allowing you to retrieve related resources across multiple layers, and also supports combining multi-level expands with filters and field selection.
tier: community
language: en
tags:
  - api
  - rest
  - expand
  - multi-level
  - nested data
  - resource navigation
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-26T06:40:47.614Z"
  flags: []
generated:
  at: "2026-10-26T05:51:10.938Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: 85dabefec973f15023b5f92e2932c15a02836d8119a8a3cb1fad100b61971a98
evidence:
  - kind: blog
    url: https://yzhums.com/70369/
    title: "Dynamics 365 Business Central: Does the API support Multi-level Expand (Multi layers)"
    date: "2026-02-03"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: https://yzhums.com/70369/
    title: "Dynamics 365 Business Central: Does the API support Multi-level Expand (Multi layers)"
    date: "2026-02-03"
    commit: null
    t: null
    quote: "each additional level of expansion requires an extra set of parentheses: $expand=salesOrderLines($expand=item($expand=itemCategory))"
  - kind: blog
    url: https://yzhums.com/70369/
    title: "Dynamics 365 Business Central: Does the API support Multi-level Expand (Multi layers)"
    date: "2026-02-03"
    commit: null
    t: null
    quote: You can also expand multiple entities simultaneously, such as combining a two-level expand with a multi-level (three-level) nested expand.
  - kind: blog
    url: https://yzhums.com/70369/
    title: "Dynamics 365 Business Central: Does the API support Multi-level Expand (Multi layers)"
    date: "2026-02-03"
    commit: null
    t: null
    quote: you can also include a $select clause at each level to retrieve only the necessary fields
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
post_id: "70369"
source_id: yzhums-com
source_name: Dynamics 365 Lab - Yun Zhu
url: https://yzhums.com/70369/
published_at: "2026-02-03T02:18:35.000Z"
author: Yun Zhu
full_text: false
words: 337
quotes:
  - text: "each additional level of expansion requires an extra set of parentheses: $expand=salesOrderLines($expand=item($expand=itemCategory))"
    why_it_matters: This clearly explains the syntax pattern for multi-level expand queries, essential for developers constructing nested API calls
  - text: You can also expand multiple entities simultaneously, such as combining a two-level expand with a multi-level (three-level) nested expand.
    why_it_matters: Clarifies that developers can mix multiple expansion paths in a single query for efficient data retrieval
  - text: you can also include a $select clause at each level to retrieve only the necessary fields
    why_it_matters: Shows that optimization is possible by limiting returned fields at each nesting level, reducing payload size
code_objects_mentioned:
  - other salesOrder
  - other salesOrderLines
  - other customer
  - other item
  - other itemCategory
  - other paymentTerm
  - other account
systems:
  - integration
versions_mentioned:
  - v2.0
preview:
  embeddable: true
  frame_url: null
  image: https://yzhums.com/wp-content/uploads/2026/02/Snipaste_2026-02-02_13-44-26.png
  image_alt: null
  image_w: null
  image_h: null
  site_name: Dynamics 365 Lab
  favicon: https://yzhums.com/wp-content/uploads/2020/08/cropped-logo-3-32x32.png
  probed_at: "2026-10-26T06:09:33.054Z"
---

# Dynamics 365 Business Central: Does the API support Multi-level Expand (Multi layers)

[Read the post](https://yzhums.com/70369/) · Dynamics 365 Lab - Yun Zhu (Yun Zhu, MVP) · 2026-02-03 · 337 words · tier community · reviewed (checked by Opus)

> The Business Central REST API supports multi-level expand (nested data retrieval) using nested parentheses in $expand syntax, allowing you to retrieve related resources across multiple layers, and also supports combining multi-level expands with filters and field selection.

## Key points

- Multi-level expand uses nested parentheses syntax like $expand=salesOrderLines($expand=item($expand=itemCategory))
- You can expand multiple entities simultaneously and combine two-level expands with multi-level nested expands in a single query
- Filter expressions and $select clauses can be added at each expansion level to retrieve only necessary fields
- Each additional level of nesting requires an extra set of parentheses in the query structure

## Quotes

- "each additional level of expansion requires an extra set of parentheses: $expand=salesOrderLines($expand=item($expand=itemCategory))" (This clearly explains the syntax pattern for multi-level expand queries, essential for developers constructing nested API calls)
- "You can also expand multiple entities simultaneously, such as combining a two-level expand with a multi-level (three-level) nested expand." (Clarifies that developers can mix multiple expansion paths in a single query for efficient data retrieval)
- "you can also include a $select clause at each level to retrieve only the necessary fields" (Shows that optimization is possible by limiting returned fields at each nesting level, reducing payload size)

## AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

- other "salesOrder"
- other "salesOrderLines"
- other "customer"
- other "item"
- other "itemCategory"
- other "paymentTerm"
- other "account"

## Context

- Features: multi-level expand, nested expand, resource navigation, filter expressions, field selection, API query syntax
- Versions: v2.0

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
