ASTCMDBDELETE
This method allows deleting a CMDB relationship using a REST web service.
POST /apigateway/se/generic/gn_webservice/gn_webservice_execute.php
Query parameters:
Query parameters | Type | Required | Description |
---|---|---|---|
cdprod | Numeric | Yes | Product codeConstant value: 109 |
classname | String | Yes | Class name used in WADLConstant value: CMDBDeleteRelationshipInterface |
classpath | String | Yes | Path to the class used in WADLConstant value: ast_import |
Example request:
Supported attributes:
Request body parameter | Type | Required | Description |
---|---|---|---|
TypeFrom | String | Yes | Source object type: 1 - Asset; 2 - Process; 3 - Process activity. |
IdentifierFrom | String | Yes | Source object ID # |
TypeTo | String | Yes | Destination object type: 1 - Asset; 2 - Process; 3 - Process activity. |
IdentifierTo | String | Yes | Destination object ID # |
{
"TypeFrom": "string",
"IdentifierFrom": "string",
"TypeTo": "string",
"IdentifierTo": "string"
}
Example response:
200 OK
{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}