Create a field index

To create a new index, send a POST request to the table name after the FileMaker_Indexes system table. The POST body must contain a single valid index representation, which is an identifier that is the field name.

Component

Description

HTTP method

POST

URL

https://host/fmi/odata/version/database-name/FileMaker_Indexes/table-name

host – FileMaker Cloud or FileMaker Server host name

version – the OData version, always v4

database-name – the name of the hosted database

table-name - the name of the table

Example: /fmi/odata/v4/ContactMgmt/FileMaker_Indexes/Company

Parameters

JSON example:

Copy
{
  "indexName" : "State"
}

Atom example:

Copy
<IndexDefinition indexName="State"/>

FileMaker information

  • FileMaker_Indexes is a system table used for creating and deleting indexes.