3.2. openidm.patch(id, rev, value)

This function performs a partial modification of a managed object. Unlike the update function, only the modified attributes are provided, not the entire object.

Parameters

id

string

The identifier of the object to be updated.

rev

string

The revision of the object to be updated, or null if the object is not subject to revision control.

value

object

The value of the modifications to be applied to the object.

Returns

  • The modified OpenIDM resource object.

Throws

  • An exception is thrown if the object could not be updated.