The resource type that extends OslcResource
Uses MERGE patch type. Child objects in the request are merged with existing children on the server. Without this, child objects not in the request are deleted.
This builder instance for chaining
Uses UPDATE patch type (default behavior). Child objects not in the request will be deleted from the server.
This builder instance for chaining
Sets the properties to return in the response (properties header)
Field names to include in the response
This builder instance for chaining
Sets the transaction ID for deduplication (transactionid header)
Unique transaction identifier
This builder instance for chaining
Suppresses business object events (sets x-allow-events to 0)
This builder instance for chaining
Explicitly allows business object events (sets x-allow-events to 1)
This builder instance for chaining
Sets the public URI header (x-public-uri)
The public URI base for generated links
This builder instance for chaining
Ignores collection references in the response (ignorecollectionref=1)
This builder instance for chaining
Sets an action to execute during the update
The action name (e.g., 'approve', 'wsmethod:someMethod')
This builder instance for chaining
Removes rowstamps from parent and child objects (ignorers=1)
This builder instance for chaining
Removes ref and localref from parent and child objects (ignorekeyref=1)
This builder instance for chaining
Adds internal values to the response (internalvalues=1) For example, adds status_maxvalue alongside status
This builder instance for chaining
Returns relative URIs instead of absolute URIs (relativeuri=1)
This builder instance for chaining
Sets a custom header
Header name
Header value
This builder instance for chaining
Sets a custom query parameter
Parameter name
Parameter value
This builder instance for chaining
Gets the resource ID
Gets the data to update
InternalBuilds the headers for the request
InternalBuilds the query parameters for the request
Executes the update request
A promise resolving to a response object with success status and optional data
Creates a new ResourceUpdate builder
The resource type that extends OslcResource
The ResourceService instance to use for updating
The unique ID of the resource to update
The data to update
Fluent builder for updating a single resource. Provides a chainable API for configuring POST /os/{objectStructure}/{id} requests with x-method-override: PATCH.
Example