To add a relationship between CIs, use the following format:
http://<hostname>:<portnumber>/api/cmdb/cirelationships
Assuming you are adding relationship between CIs in the local server with port number 8080, the URL should be given as::
http://localhost:8080/api/cmdb/cirelationships
Keypoints:
Input is an XML string sent as "POST attribute" with key "INPUT_DATA".
The operation name "add" should be sent as a "POST attribute" with key "OPERATION_NAME".
The technician key should be sent as a "POST attribute" with key "TECHNICIAN_KEY".
To know more about adding CI relationships, visit the following pages: