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 | |
---|---|
Request | web\wwwroot\ws\java\asset\DeleteCMDBRelationshipRequestType.java |
Return | web\wwwroot\ws\java\asset\DeleteCMDBRelationshipResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
TYPEFROM | X | Source object type: 1 - Asset; 2 - Process; 3 - Process activity. |
IDENTIFIERFROM | X | Source object ID # |
TYPETO | X | Destination object type: 1 - Asset; 2 - Process; 3 - Process activity. |
IDENTIFIERTO | X | Source 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 |
---|---|
return | SUCCESS: Return regarding the executed item FAILURE: Returns a message regarding the error that occurred |