添加配置项 (CI)

添加配置项 (CI)

要添加 CI,请使用以下 URL 格式:

 

http://<servername>:<portnumber>/api/cmdb/ci/

假设您在本地服务器中添加的 CI 端口号为 8080,则 URL 应为

 

http://localhost:8080/api/cmdb/ci

 

关键点:

  1. 输入是一个 XML 字符串,作为 “POST attribute ”发送,关键字为 “INPUT_DATA”。

  2. 操作名称 “add ”应作为 “POST attribute”发送,关键字为 “OPERATION_NAME”。

  3. 技术员密钥应以 “POST attribute”的形式发送,其关键字为 “TECHNICIAN_KEY”。