Query the total CI count based on the provided CI type name, operator name, and operator group name.
/cmdb/ci/readbyType/ciNums/{typeName}/userName/{userName}/groupName/{groupName}
Path parameters | |
---|---|
typeName | CI type name. String type. Required. No default value.
|
userName | Operator name. String type. Required. No default value.
|
groupName | Operator group name. String type. Required. No default value.
|
HTTP/1.1 200 OK
<result>
<commonStr>26</commonStr>
</result>
ciInfo subelements | |
---|---|
commonStr | Total number of CIs. String type.
|
Query the total number of CIs with the CI type name as Device administrator, the operator name as admin, and the operator group name as Administrator group.
GET http://host:8080/imcrs/cmdb/ci/readbyType/ciNums/Device administrator/userName/admin/groupName/Administrator group accept: application/xml ...
HTTP/1.1 200 OK Content-Type: application/xml ... <result>
<commonStr>1</commonStr>
</result>