Update a record with an image or PDF container field

To update the value of a container field for a record, use the HTTP PATCH method with base64-encoded value.

Component

Description

HTTP method

PATCH

URL

https://host/fmi/odata/version/database-name/table-name (primary-key-value)

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

primary-key-value - the unique identifier value of the record

Example: /fmi/odata/v4/ContactMgmt/Contacts('ALFKI')

Parameters

JSON example:

Copy
{
  "Photo": "R0lGODlhCQAJAIABAH9/f////yH5
      BAEAAAEALAAAAAAJAAkAAAIMjI+pC+1wHk
      SOrbsKADs="
}