Create a record with a file in a container field
To create a record for a table with one or more container fields, set the field with base64-encoded data. The POST body must contain a single valid record representation.
| Component | Description |
|---|---|
|
HTTP method |
POST |
| URL |
https://host/fmi/odata/version/database-name/table-name host – FileMaker Cloud or FileMaker Server host name version – the OData version, always database-name – the name of the hosted database table-name - the name of the table or FileMaker Table ID (FMTID) Example: |
|
Parameters |
JSON example: Copy
|
FileMaker information
The media type a base64-encoded container value is inferred by comparing the first bytes of the data to expected values for the supported media types.