saveEntity

open suspend fun saveEntity(entity: EntityValue)

See saveEntity_(EntityValue, HttpHeaders?, RequestOptions?).

Parameters

entity

Entity parameter.


open suspend fun saveEntity(entity: EntityValue, headers: HttpHeaders?)

See saveEntity_(EntityValue, HttpHeaders?, RequestOptions?).

Parameters

entity

Entity parameter.

headers

Headers parameter.


open suspend fun saveEntity(entity: EntityValue, headers: HttpHeaders?, options: RequestOptions?)

Create (if {@link com.sap.cloud.mobile.kotlin.odata.EntityValue#isNew EntityValue.isNew}) or update (if existing) an entity in the target system.

Parameters

entity

Entity to be created or updated.

headers

(nullable) Optional request-specific headers.

options

(nullable) Optional request-specific options.