Skip to main content
Version: 2.2.0

deleteCMDBRelationship

This method allows deleting:

  • Relationships between assets;

  • Relationships between asset and process or process and asset;

  • Relationships between asset and activity or activity and asset;

To insert each of these items, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\asset\DeleteCMDBRelationshipRequestType.java
Returnweb\wwwroot\ws\java\asset\DeleteCMDBRelationshipResponseType.java

Request:

ID #RequiredDescription
TYPEFROMXSource object type:
1 - Asset;
2 - Process;
3 - Process activity.
IDENTIFIERFROMXSource object ID #
TYPETOXDestination object type:
1 - Asset;
2 - Process;
3 - Process activity.
IDENTIFIERTOXSource object ID #

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:asset">
<soapenv:Header/>
<soapenv:Body>
<urn:deleteCMDBRelationship>
<!--You may enter the following 4 items in any order-->
<urn:TypeFrom>?</urn:TypeFrom>
<urn:IdentifierFrom>?</urn:IdentifierFrom>
<urn:TypeTo>?</urn:TypeTo>
<urn:IdentifierTo>?</urn:IdentifierTo>
</urn:deleteCMDBRelationship>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: Return regarding the executed item
FAILURE: Returns a message regarding the error that occurred