Cumulocity API Services / com.softwareag.jc.cumulocity.services.api / ManagedObjectService / update

update

fun update(obj: ManagedObject, responder: RequestResponder<ManagedObject>): Unit

Updates the existing managed object. The id attribute must be provided in advance, it is recommended that you only use this method with a managed object that was returned by the aforementioned add method, get or query methods provided by the ManagedObjectsService class.

Note, not all elements of your managed object can be posted, refer to the REST API Guide for more details

Parameters

obj - a ManagedObject for which the id attribute IS NOT null

responder - callback function to which the RequestResponder<ManagedObject> instance will be communicated to.