REST-API - use of real CMDBIDs and allow temp_id to be 32 characters inline with GUID

Idea ID 2807195

REST-API - use of real CMDBIDs and allow temp_id to be 32 characters inline with GUID

We need be able to create relation between two existing CIs by theirs ucmdbIds.

 

Rest API has Update CI method, user able to update any CI by it's ucmdbId like this -

calling PUT method

 

http://servername:port/rest-api/dataModel/ci/4fc5cb9b413954a397f10ee777a305f8

with body

 

 

{
	properties: {
		data_note: sometext
	}
}

Data note will be updated for CI with the UcmdbId.

 

But Rest API doesn't have method to create relation between two existing CIs by their ucmdbIds. 

At this moment Rest API (and others) cannot do such simple operation, to do this user have to use Insert Topology method, but this method requires building a new CI like this:

 

{
	cis: [{
		ucmdbId: [temp_id],
		type: [ucmdb_cit],
		properties: {
			<ucmdb_cit_prop>: [ucmdb_cit_prop_value],
			…
		}
	},
	…],
	relations: [{
		ucmdbId: [temp_id],
		type: [ucmdb_cit],
		end1Id: [temp_id],
		end2Id: [temp_id],
		properties: {
			<ucmdb_cit_prop>: [ucmdb_cit_prop_value],
			…
		}
	},
	…]
}

 

 

2 Comments
Micro Focus Expert
Micro Focus Expert
Thank you for sharing your idea! It’s open for comments and kudos, and we’re looking forward to input from the community. Once there is enough community traction, it will be further reviewed by the product team. 
Micro Focus Expert
Micro Focus Expert
Status changed to: Waiting for Votes
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.