Update CI

Table 1. API: Save CI Record with CI Relationship Details
Element Description
API UpdateCI
Description

This API Update a CI record in HCL BigFix CLM database. CI records will be identified and updated based on ObjectId and ObjectType parameters.

* Refer Accessibility Matrix for permission.

Method PUT
URL Http(s)://{xx.xxxx.xx.xx:xxx}/v3/ci
Body Parameters
 { 
 "ObjectID":"testvmsoggnalss1111", 
 "ObjectType":"VM", 
 } 
 Mandatory fields for Update 
 { 
 "objectid":"sonalvm20", 
 "objecttype":"VM" 
 } 
  • Objectid (Mandatory): Unique Id of resource.
  • Objecttype: (Mandatory): Type of resource.
  • Cirelatedids: If a user wants to establish a relationship of a saved CI with an existing CI, then the user needs to provide CI ids separeted with comma (1,2,3) in Json.
Header
  • Authorization Key: The initial step that needs to be performed before consuming HCL BigFix CLM APIs is to obtain the Token Value for an authorization key. Once a Token value is obtained, it remains valid for all API calls made in a session. For more information on how to do that, refer to the Token API description.
  • Content-type: application/json
Response

A Sample Response:

 { 
 "ciId": "287" 
 } 
Response Parameters
  •  CIId