merge

Modifies an existing element in the collection by merging changes on the server-side.

Return

The modified entity as returned by the server, possibly with additional fields set. null if the server does not respond with a result entity.

Parameters

entity

The entity data to merge with the existing one. Its ID is used to identify the element to modify.

Throws

when the entity has changed since it was last retrieved. Your changes were rejected to prevent a lost update.

when the server responds with HttpStatusCode.BadRequest.

when the server responds with HttpStatusCode.Forbidden.

for other non-success status codes.