cmdb.object_types#
Work in Progress
cmdb.object_types#
Read objects type configurations.
Request parameters#
Key | JSON data type | Required | Description |
---|---|---|---|
countobjects | Boolean | No | Display object counter |
filter | Array | No | Filter list of objects; see below for a full list of options |
limit | Mixed | No | Maximum amount of objects (as integer), for example, fetch the first thousand of objects: 1000 Combine this limit with an offset (as string), for example, fetch the next thousand of objects: "1000,1000" |
sort | String | No | Only useful in combination with key order_by; allowed values are either "ASC" (ascending) or "DESC" (descending) |
order_by | String | No | Order result set by (see filter for more details what each value means): - "isys_obj_type__id", - "isys_obj__isys_obj_type__id", - "type", - "isys_obj__title", - "title", - "isys_obj_type__title", - "type_title", - "isys_obj__sysid", - "sysid", - "isys_cats_person_list__first_name", - "first_name", - "isys_cats_person_list__last_name", - "last_name", - "isys_cats_person_list__mail_address", - "email", - "isys_obj__id", or - "id" |
raw | Boolean | No | Displayed raw formatting, see example. |
Filter#
Key | JSON data type | Required | Description |
---|---|---|---|
id | Integer | No | Object type id or Object type constant |
ids | Array | No | List of object type identifiers (as integers), for example: [1, 2, 3] |
title | String | No | Object type language constant, for example: LC__CMDB__OBJTYPE__SERVER for Server |
titles | Array | No | List of Object type language constants, for example: ["LC__CMDB__OBJTYPE__SERVER","LC__CMDB__OBJTYPE__CLIENT"] |
enabled | Boolean | No | Show only object types enabled or disabled in GUI |
You can use any combination of filters.
WIP
Response parameters#
JSON key result contains an array of JSON objects. Each object contains a search result.
Key | JSON data type | Description |
---|---|---|
Placeholder | Placeholder | Placeholder |
Placeholder | Placeholder | Placeholder |
Example#
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
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 |
|