要在 CI 之间添加关系,请使用以下格式:
http://<hostname>:<portnumber>/api/cmdb/cirelationships
假设您要在端口号为 8080 的本地服务器中添加 CI 之间的关系,URL 应为:
http://localhost:8080/api/cmdb/cirelationships
关键点:
输入是一个 XML 字符串,作为 “POST attribute ”发送,关键字为 “INPUT_DATA”。
操作名称 “add ”应作为 “POST attribute ”发送,关键字为 “OPERATION_NAME”。
技术员密钥应以 “POST attribute”的形式发送,其关键字为 “TECHNICIAN_KEY”。