Create a record with an image or PDF container field
To create a record for a table with one or more container fields, set the field with base64-encoded data. Only GIF, PNG, JPEG, TIFF, and PDF file types are supported. 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 Example: |
Parameters |
JSON example: Copy
|
FileMaker information
The media type of a base64-encoded container value is determined by comparing the first bytes of the data to expected values for the supported media types.