Create Asset Component

Allows an asset component to be created for an asset.

 

URL

{RMUrl}/api/Organization/assets/<AssetCode>/components

 

REQUEST METHOD

POST

 

URL PARAMETER

AssetCode: This parameter is provided in the URL and does not need to be sent through POST.

 

FORM CONTENT

Name (Optional): Name of the asset component to be created. If not specified, the name of the asset component is, by default, the name of the asset followed by the short name of its associated knowledge base. Limit of 400 characters.

Description (Optional): Description of the asset component to be created.

KnowledgeBaseId (Required): The ID of the knowledge base, as listed in the Knowledge module.

 

FORM CONTENT EXAMPLE

{

"Name":"Linux Server - Linux Suse 10",

"Description":"Linux and web servers",

"KnowledgeBaseId":"MOD_EN.000133"

}

 

SUCCESS RESPONSE

Code of the newly created asset component. Returns a string.