Batch requests
OData supports batch requests that enable you to perform multiple operations in a single HTTP request. You can use record-level operations, such as create a record, edit a record, delete a record, and find a record. Alternatively, you can create a set of atomic operations which run independently of other processes.
Component | Description |
---|---|
HTTP method |
POST |
URL |
https://host/fmi/odata/version/database-name/$batch host – FileMaker Cloud or FileMaker Server host name version – the OData version, always database-name – the name of the hosted database $batch - the name of batch Example: |
Parameters |
Example: Copy
|
FileMaker information
-
Specify the Content-Type header as multipart/mixed and include a boundary specification.
-
The body of a batch request is made up of a series of individual requests and change sets.
-
Batch requests do not support referencing newly created records using
$<Content-ID>
in a change set.