Request the binary value for an individual field
To request an individual field stored as a binary value, use the query option $value
.
The binary value default format for the FileMaker field is text/plain. For container fields, the default format depends on the type of container field and includes image/gif, image/png, image/jpeg, image/tiff, application/pdf, or application/octet-stream.
Component | Description |
---|---|
HTTP method |
GET |
URL |
https://host/fmi/odata/version/database-name/table-name (primary-key-value)/field-name/$value 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 primary-key-value - the unique identifier value of the record field-name - the name of the field Example: The request above returns the binary value of the Name field for the Contacts record. |
FileMaker information
-
When requesting the binary (raw) value of a repetition field, only the binary (raw) value of the first repetition is returned.