Feature
Browse Business Central $metadata: entities, fields and bound actions
Updated 21 November 2026
The $metadata document is the most accurate reference for any Business Central API, because it describes your own tenant: standard entities, your extensions' fields and your custom API pages. It is also a very long XML file. Ava's Explore turns it into something you can read, and into requests you can send.
Start from any URL
Type or paste any URL under the API and press Explore. Ava finds the route's $metadata and reads it:
| Route | What Ava reads |
|---|---|
.../api/v2.0/ | The standard API: companies, customers, items, sales orders and the rest. |
.../api/<publisher>/<group>/<version>/ | Your custom API pages, with the fields and names you gave them. |
.../ODataV4/ | Pages and queries published as web services. |
Each route has its own $metadata, so an entity from your extension appears only under its own publisher, group and version, exactly as Business Central exposes it. If you would rather see the XML itself, Ava opens the raw document in a new tab.
What you see
For each entity, Explore lists:
- The name in the URL. The
EntitySetname, such assalesOrders, which is what you address, and the key that goes in brackets to reach one record. - Fields with their type (
Edm.String,Edm.Decimal,Edm.Date,Edm.Guid, an enum), whether they can be null, and their maximum length. The length is what you check when Business Central says a string is too long. - Related records, the navigation properties you can
$expand, such as an order'ssalesOrderLines. - What you can do: the bound actions and functions beyond reading and writing fields.
shipAndInvoice,post,makeInvoiceand the[ServiceEnabled]procedures on your own pages appear here with their URL already built.
The guide How to read Business Central $metadata explains the XML behind each of these, if you want to read the document directly.
Ready-made requests
Tick one entity or several and choose what to add: list, get one, create, update and delete. Ava writes each request into a collection folder with the right method, URL, headers and body. A Capture row on the create request stores the new record's id, and the update and delete requests use that same variable, so the folder can be run end to end against a sandbox.
Three decisions in how these are built exist to protect a real ledger:
- An update starts empty. In Business Central a field sent blank is cleared, so a template full of blanks would erase a record if sent as it stands. You tick what you mean to change.
- A generated folder writes only to records it created. Its update and delete use the ID captured by its own create, never an ID a list happened to return. Otherwise running the folder would delete the first real customer in the tenant.
- No
{{placeholders}}inside a body. An unresolved variable goes out as typed, and Business Central would store those braces as the customer's name. Generated bodies use blank strings instead.
JSON bodies from your own fields
In any request's Body tab, From metadata… finds the entity from the URL you have typed and lists its fields. Tick the ones you want and Ava writes the JSON with each value in the right form: strings quoted, numbers bare, dates as "2026-11-21", date-times as "2026-11-21T10:30:00Z", enums as one of their declared members. Fields the server sets, such as id, systemId, lastModifiedDateTime and calculated totals, are left out, because sending one gets "Control is read-only" back.
For a custom API page with twenty fields and no documentation, this is the difference between a working create in a minute and an afternoon of trial and error.
Company and ETag handled
Requests are written against {{company}}, which Ava fills from the company you picked, so one collection serves every company in the tenant. Update and delete requests include If-Match: {{$etag}}, which sends the ETag Ava remembered from the last GET of that same record. See How to fix If-Match and ETag errors for why the header is needed.
Questions
Does Explore work with custom API pages?
Yes. Paste a URL under api/<publisher>/<group>/<version>/ and Explore reads that route's $metadata, so your own entities, fields and bound actions appear exactly as you published them.
Does it need anything installed in Business Central?
No. Explore reads the standard $metadata document that every Business Central API route already serves. It needs only the sign-in you already use for requests.
Is Explore on the Free plan?
Yes. Explore, ready-made requests and bodies from $metadata are all included on the Free plan.
Can I see the raw XML?
Yes. Ava opens the raw $metadata document in a new tab, so you can search it or save it.
