Reading the OData Metadata Document

Intermediate

Use the $metadata endpoint to discover the schema of a FileMaker database exposed via OData.

What you'll learn

  • What the OData $metadata document contains
  • How FileMaker field types map to OData types
  • Reading entity type and property definitions
  • How BI tools use $metadata for schema discovery

Every OData service exposes a metadata document at $metadata -- an XML document that describes the complete schema: entity types (tables), properties (fields), their data types, and navigation properties. BI tools like Power BI parse this automatically; developers can read it to understand exactly how FileMaker field names and types are exposed.

Stuck is a valid status

Need a second brain on this one?

If this lesson just collided with your real schema, script stack, or deadline, book consulting and turn the confusion into a concrete plan.

Book consulting
1/4
1

The $metadata URL

Request the metadata document:

HTTP
GET /fmi/odata/v4/MyDatabase/$metadata
Authorization: Basic {credentials}
// Returns EDMX (XML) schema document

Sign in to track your progress and pick up where you left off.

Sign in to FM Dojo