cmdb.condition#
Work in Progress. Alpha state
cmdb.condition.read#
Give me all objects that have attribute Y = Z in category X. Like a report.
Request parameters#
Key | JSON data type | Required | Description |
---|---|---|---|
conditions | Array | Yes | Consists of the category constant + the attribute name |
property | String | Yes | = , != , like , not like , > , >= , < , <= , <> |
comparison | String | String or Integer | Exmaple, C__OBJTYPE__SERVER , 123 or *server* |
operator | Array | Yes | AND or OR |
WIP
Response parameters#
JSON key result contains an array of JSON objects. Each object contains a search result.
Key | JSON data type | Description |
---|---|---|
key | String | Attribute which relates to query |
value | String | Value which relates to query |
Example#
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
|