This method enables to add:
▪Relationships between assets; ▪Relationships between asset and process or process and asset; ▪Relationships between asset and activity or process and activity;
To insert each of these items, it is necessary to follow the standard documented below.
Java class
|
Request
|
web\wwwroot\ws\java\asset\ImportCMDBRelationshipRequestType.java
|
Return
|
web\wwwroot\ws\java\asset\ImportCMDBRelationshipResponseType.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 #
|
RELATIONSHIPNAME
|
X
|
Relationship name
|
REVERSERELATIONSHIP
|
X
|
Reverse relationship:
1 – Yes;
2 – No.
|
Return
|
ID #
|
Description
|
return
|
SUCCESS: Return regarding the executed item
FAILURE: Returns a message regarding the error that occurred
|
|