API Methods#
In this section we explain the i-doit JSON-RPC API. If you want to know which parameters need to or can be set for each method and what a typical response looks like, this is the right resource.
You can find some examples here. More information about each method can be found on the respective page.
Namespace [idoit]#
This namespace is reserved for common methods.
idoit.search#
idoit.search (Click to expand)
Search via the API
idoit.search parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| q | String | Yes | Query, for example: "My little server" |
idoit.search Response
JSON key result contains an array of JSON objects. Each object contains a search result.
| Key | JSON data type | Description |
|---|---|---|
| documentID | String | Identification number |
| key | String | Attribute that relates to the query |
| value | String | Value that relates to the query |
| type | String | Add-on or core functionality |
| link | String | Relative URL that leads directly to the search result |
| score | Integer | Score (deprecated) |
idoit.search Request
Body:
1 2 3 4 5 6 7 8 9 10 | |
idoit.search Response
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
idoit.version#
idoit.version (Click to expand)
Retrieve information about i-doit and the current user
idoit.version parameter
None
idoit.version Response
JSON key result contains a JSON object with various information about i-doit itself and the current user.
| Key | JSON data type | Description |
|---|---|---|
| login | Array | Information about the user who made the request; see details below |
| login.userid | String | Object identifier (as numeric string) |
| login.name | String | Object title |
| login.mail | String | Email address (see category Persons → Master data) |
| login.username | String | Username (see category Persons → Login) |
| login.tenant | String | Name of the tenant |
| login.language | String | Language: "en" or "de" |
| version | String | Version of the installed i-doit |
| step | String | Dev, alpha or beta release |
| type | String | Variant: "OPEN" or "PRO" |
idoit.version Request
Body:
1 2 3 4 5 6 7 8 9 | |
idoit.version Response
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
idoit.constants#
idoit.constants (Click to expand)
Retrieve defined constants from i-doit
idoit.constants parameter
None
idoit.constants Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| objectTypes | Object | List of object types Key: Object type constants Values: Titles of the translated object types |
| categories | Object | List of global and specific categories |
| categories.g | Object | List of global categories Key: Category constants Values: Translated category titles |
| categories.s | Object | List of specific categories Key: Category constants Values: Translated category titles |
idoit.constants Request
Body:
1 2 3 4 5 6 7 8 9 | |
idoit.constants Response
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
idoit.login#
idoit.login (Click to expand)
Create a new session
idoit.login parameter
None
idoit.login Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| result | Boolean | Should be true |
| userid | String | Object identifier of the logged-in user (as numeric string) |
| name | String | Object title of the logged-in user |
| String | Email address attribute in category Persons → Master data | |
| username | String | Username attribute in category Persons → Login |
| session-id | String | Generated session identifier |
| client-id | String | Tenant identifier (as numeric string) |
| client-name | String | Name of the tenant |
example
idoit.login Request
Header:
1 2 | |
Body:
1 2 3 4 5 6 7 8 9 | |
idoit.login Response
Header:
1 | |
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
Header:
1 | |
Body:
1 2 3 4 5 6 7 8 9 | |
Header:
1 | |
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
Header:
1 | |
Body:
1 2 3 4 5 6 7 8 9 | |
Header:
1 | |
Body:
1 2 3 4 5 6 7 8 | |
idoit.logout#
idoit.logout (Click to expand)
Close current session
Request parameter
None
idoit.logout Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| message | String | Should be "Logout successful" |
| result | Boolean | Should be true |
Example
See method idoit.login
Namespace [cmdb]#
This namespace refers to all CMDB-specific methods such as the handling of objects and categories.
cmdb.object.create#
cmdb.object.create (Click to expand)
Create a new object with some optional information
cmdb.object.create parameter | Key | JSON data type | Required | Description | | --------------- | --------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | type | String|Integer | Yes | Object type constant as string, for example: "C__OBJTYPE__SERVER".
Alternatively, object type identifier as integer: 5 | | title | String | Yes | For example, object title "My little server" | | category | String | No | Attribute category in category General | | purpose | String | No | Attribute purpose in category General, for example: "In production" | | cmdb_status | String|Integer | No | Attribute CMDB status in category General, e.g. by its constant (string): "C__CMDB_STATUS__IN_OPERATION"
Alternatively, by its identifier (integer), for example: 6 | | description | String | No | Attribute description in category General |
cmdb.object.create Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| id | String | Object identifier (as numeric string) |
| message | String | Some information |
| success | Boolean | Should always be true |
example
cmdb.object.create Request
Body:
1 2 3 4 5 6 7 8 9 10 11 | |
Body:
1 2 3 4 5 6 7 8 9 | |
cmdb.object.read#
cmdb.object.read (Click to expand)
Read general information about an object
cmdb.object.read parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| id | Integer | Yes | Object identifier; for example: 42 |
cmdb.object.read
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| id | String | Object identifier (as numeric string) |
| title | String | Object title |
| sysid | String | SYSID (see category General) |
| objecttype | String | Object type identifier (as numeric string) |
| created | String | Date of creation; format: Y-m-d H:i:s |
| updated | String | Date of the last update; format: Y-m-d H:i:s Note: This key is optional since not every object has been updated before. |
| type_title | String | Translated name of the object type |
| type_icon | String | Relative URL to the object type icon |
| status | String | object status: C__RECORD_STATUS__BIRTH Status-ID = 1 Title = Unfinished C__RECORD_STATUS__NORMAL Status-ID = 2 Title = Normal C__RECORD_STATUS__ARCHIVED Status-ID = 3 Title = Archived C__RECORD_STATUS__DELETED Status-ID = 4 Title = Deleted C__RECORD_STATUS__TEMPLATE Status-ID = 6 Title = Template C__RECORD_STATUS__MASS_CHANGES_TEMPLATE Status-ID = 7 Title = Mass change template |
| cmdb_status | String | CMDB status (see category General; as numeric string) |
| cmdb_status_title | String | Translated CMDB status (see category General) |
| image | String | URL to the object image |
example
cmdb.object.read Request
Body:
1 2 3 4 5 6 7 8 9 10 | |
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
cmdb.object.update#
cmdb.object.update (Click to expand)
Change an object, e.g. the title of an object
cmdb.object.update parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| id | Integer | Yes | Object identifier, for example: 42 |
| title | String | Yes | New Object title, for example: "Your little server" |
cmdb.object.update Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| message | String | Should be "Object title was successfully updated" |
| success | Boolean | Should be true |
example
cmdb.object.update Request
Body:
1 2 3 4 5 6 7 8 9 10 11 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.object.delete#
cmdb.object.delete (Click to expand)
Deletes an object
cmdb.object.delete parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| id | Integer | Yes | Object identifier, for example: 42 |
| status | String | Yes | Status constant: "C__RECORD_STATUS__ARCHIVED": Archive object "C__RECORD_STATUS__DELETED": Mark object as deleted "C__RECORD_STATUS__PURGE"*: Purge object from database |
cmdb.object.delete Response
JSON key result contains a JSON object.
example
cmdb.object.delete Request
Body:
1 2 3 4 5 6 7 8 9 10 11 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.object.recycle#
cmdb.object.recycle (Click to expand)
Restore an object
cmdb.object.recycle parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| object | Integer | Yes | Object identifier, for example: 464 |
cmdb.object.recycle Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Some information |
example
cmdb.object.recycle Request
Body:
1 2 3 4 5 6 7 8 9 10 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.object.archive#
cmdb.object.archive (Click to expand)
Archive an object
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| object | Integer | Yes | Object identifier, for example: 464 |
cmdb.object.archive Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Some information |
| example |
cmdb.object.archive Request
Body:
1 2 3 4 5 6 7 8 9 10 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.object.purge#
cmdb.object.purge (Click to expand)
Purge an object
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| object | Integer | Yes | Object identifier, for example: 464 |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Some information |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.object.markAsTemplate#
cmdb.object.markAsTemplate (Click to expand)
Set the object state to Template
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| object | Integer | Yes | Object identifier, for example: 465 |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Some information |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.object.markAsMassChangeTemplate#
cmdb.object.markAsMassChangeTemplate (Click to expand)
Set the object state to Mass change Template
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| object | Integer | Yes | Object identifier, for example: 465 |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Some information |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.objects.read#
cmdb.objects.read (Click to expand)
Retrieve a list of objects
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| categories | Array | No | Here you can filter by a list or a category, in the form of category constant(s). "categories": ["C__CATG__MY_CUSTOM_CATEGORY"] "categories": ["C__CATG__MY_CUSTOM_CATEGORY", "C__CATG__MY_SECOND_CATEGORY"] |
| filter | Array | No | Filter the list of objects; see below for a complete list of options |
| limit | Mixed | No | Maximum number of objects (as integer), e.g. to retrieve the first thousand objects: 1000 Combine this limit with an offset (as string), e.g. to retrieve the next thousand objects: "1000,1000" |
| order_by | String | No | Order the result by (see filter for additional details on 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"* |
| sort | String | No | Only useful in combination with key order_by; allowed values are either "ASC" (ascending) or "DESC" (descending) |
Filter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| ids | Array | No | List of object identifiers (as integers), for example: 1, 2, 3 |
| type | Integer|String | No | Object type identifier (as integer), for example: 5 Alternatively, object type constant (as string), e.g.: "C__OBJTYPE__SERVER" |
| title | String | No | Object title (see attribute Title in category General), e.g.: "My little server" |
| type_title | String | No | Translated name of the object type, for example: "Server" Note: Set an appropriate language in your request. |
| sysid | String | No | SYSID (see category General), for example: "SRV_101010" |
| first_name | String | No | First name of an object of type Persons (see attribute First name in category Persons → Master data), e.g.: "John" |
| last_name | String | No | Last name of an object of type Persons (see attribute Last name in category Persons → Master data), e.g.: "Doe" |
| String | No | Primary email address of an object of type Persons, Person groups or Organization (see attribute Email address in categories Persons/Person groups/Organization → Master data), for example: "john.doe@example.com" | |
| type_group | String | No | Filter by the object type group e.g. Infrastructure or Other: "C__OBJTYPE_GROUP__INFRASTRUCTURE" |
| status | String | Filter by the status of the objects e.g. Normal or Archived: C__RECORD_STATUS__BIRTH Status-ID = 1 Title = Unfinished C__RECORD_STATUS__NORMAL Status-ID = 2 Title = Normal C__RECORD_STATUS__ARCHIVED Status-ID = 3 Title = Archived C__RECORD_STATUS__DELETED Status-ID = 4 Title = Deleted C__RECORD_STATUS__TEMPLATE Status-ID = 6 Title = Template C__RECORD_STATUS__MASS_CHANGES_TEMPLATE Status-ID = 7 Title = Mass change template |
You can use any combination of filters. Filters are logically combined with AND. A valid combination could be "Give me all servers that have the same hostname."
Response
JSON key result contains an array of JSON objects. Each object contains a bundle of information about an i-doit object.
| Key | JSON data type | Description |
|---|---|---|
| id | String | Object identifier (as numeric string) |
| title | String | Object title |
| sysid | String | SYSID (see category General) |
| type | String | Object type identifier (as numeric string) |
| created | String | Date of creation; format: Y-m-d H:i:s |
| updated | String | Date of the last update; format: Y-m-d H:i:s Note: This key is optional since not every object has been updated before.. |
| type_title | String | Translated name of the object type |
| type_group_title | String | Translated name of the object type group |
| status | String | object status: C__RECORD_STATUS__BIRTH Status-ID = 1 Title = Unfinished C__RECORD_STATUS__NORMAL Status-ID = 2 Title = Normal C__RECORD_STATUS__ARCHIVED Status-ID = 3 Title = Archived C__RECORD_STATUS__DELETED Status-ID = 4 Title = Deleted C__RECORD_STATUS__TEMPLATE Status-ID = 6 Title = Template C__RECORD_STATUS__MASS_CHANGES_TEMPLATE Status-ID = 7 Title = Mass change template |
| cmdb_status | String | CMDB status (see category General; as numeric string) |
| cmdb_status_title | String | Translated CMDB status (see category General) |
| image | String | URL to the object image |
| categories | Mixed | Optional attributes with values depending on the requested category |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |
cmdb.category.save#
cmdb.category.save (Click to expand)
Create or update a category entry of an object.
It works for multi-value categories and single-value categories.
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| object | Integer | Yes | Object identifier, for example: 456 |
| category | String | Yes | Category constant, for example: "C__CATG__ACCESS" |
| data | Object | Yes | { "title":"Name of the access", "description":"description of the access" } |
Response
Object identifier, for example
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Some information |
| entry | Integer | Entry identifier, for example: 35 |
example
Create Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
Body:
1 2 3 4 5 6 7 8 9 | |
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
Body:
1 2 3 4 5 6 7 8 9 | |
cmdb.category.create#
cmdb.category.create (Click to expand)
Create a new category entry
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| objID | Integer | Yes | Object identifier, for example: 42 |
| category | String | Yes | Category constant, for example: C__CATG__MODEL |
| data | Object | Yes | Attributes with their values, for example: { "manufacturer": "Name of manufacturer", "title": "Name of model" } |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| id | String | Entry identifier (as numeric string) |
| message | String | Some information |
| success | Boolean | Should always be true |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
Body:
1 2 3 4 5 6 7 8 9 | |
cmdb.category.read#
cmdb.category.read (Click to expand)
Read one or more category entries for an object
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| objID | Integer | Yes | Object identifier, for example: 42 |
| category | String | Yes | Category constant, for example: "C__CATG__MODEL" |
| status | Integer | Yes | ID of the status, for example 2 for normal If the parameter status is not specified, the status defaults to 2 (normal). This corresponds to the previous behavior. |
Valid values for status
| value | Description |
|---|---|
| -1 | Read all entries with the status normal, archived or deleted |
| 2 | Read all entries with the status normal (default) |
| 3 | Read all entries with the status archived |
| 4 | Read all entries with the status deleted |
If an invalid value is specified for status, this results in an error message in the response:
1 | |
JSON key result contains an array of JSON objects. Each object contains all available attributes for the requested category. Note: Even if it is a single-value category or a multi-value category with only 1 entry, the JSON key result always contains an array of JSON objects.
| Key | JSON data type | Description |
|---|---|---|
| id | String | Entry identifier (as numeric string) |
| objID | String | Object identifier (as numeric string) |
| … | Mixed | Optional attributes with values depending on the requested category |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 | |
Body:
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 | |
cmdb.category.update#
cmdb.category.update (Click to expand)
Update a category entry of an object
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| objID | Integer | Yes | Object identifier, for example: 42 |
| category | String | Yes | Category constant, for example: "C__CATG__MODEL" |
| data | Object | Yes | Attributes that will be updated |
| data.category_id | Integer | Yes | Entry identifier (only required for multi-value categories) |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Should be "Category entry successfully saved" |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.category.delete#
cmdb.category.delete (Click to expand)
Archive a category entry for an object, mark it as deleted, or purge it from the database
Limitations
- This currently only works with multi-value categories.
- You can only archive category entries that have a normal status.
- You can only mark category entries as deleted that are archived.
- You can only purge category entries from the database that are marked as deleted.
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| objID | Integer | Yes | Object identifier, for example: 42 |
| category | String | Yes | Category constant, for example: "C__CATG__IP" |
| cateID | Integer | Yes | Entry identifier, for example: 3 |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Some information |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.category.quickpurge#
cmdb.category.quickpurge (Click to expand)
If Quickpurge is enabled, you can purge a category entry of an object directly from the database.
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| objID | Integer | Yes | Object identifier, for example: 42 |
| category | String | Yes | Category constant, for example: "C__CATG__IP" |
| cateID | Integer | Yes | Entry identifier, for example: 3 |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Some information |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.category.purge#
cmdb.category.purge (Click to expand)
Purge a category entry of an object. It works for multi-value categories and single-value categories.
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| object | Integer | Yes | Object identifier, for example: 456 |
| category | String | Yes | Category constant, for example: "C__CATG__ACCESS" |
| entry | Integer | Yes | Entry identifier, for example: 33 |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Some information |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 | |
Body:
1 2 3 4 5 6 7 8 | |
or: example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.category.recycle#
cmdb.category.recycle (Click to expand)
Limitations
- This currently only works with multi-value categories.
- You can recycle category entries that have archived or deleted status.
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| object | Integer | Yes | Object identifier, for example: 456 |
| category | String | Yes | Category constant, for example: "C__CATG__ACCESS" |
| entry | Integer | Yes | Entry identifier, for example: 32 |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Some information |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.category.archive#
cmdb.category.archive (Click to expand)
Limitations
- This currently only works with multi-value categories.
- You can only archive category entries that have a normal status.
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| object | Integer | Yes | Object identifier, for example: 456 |
| category | String | Yes | Category constant, for example: "C__CATG__ACCESS" |
| entry | Integer | Yes | Entry identifier, for example: 32 |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| message | String | Some information |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.dialog.read#
cmdb.dialog.read (Click to expand)
Read the dialog information.
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| category | String | Yes | Category constant, for example: "C__CATG__CPU" |
| property | String | Yes | Attribute in the category, for example: "manufacturer" |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| id | String | Identifier |
| const | String | Constant of the dialog attribute |
| title | String | Title of the attribute |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 | |
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
cmdb.dialog.create#
cmdb.dialog.create (Click to expand)
Create dialog entries
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| category | String | Yes | Category constant, for example: "C__CATG__CPU" |
| property | String | Yes | Attribute in the category, for example: "manufacturer" |
| value | String | Yes | Value of the attribute |
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| entry_id | Integer | Entry identifier, for example |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.dialog.update#
cmdb.dialog.update (Click to expand)
Update a dialog entry
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| category | String | Yes | Category constant, for example: "C__CATG__CPU" |
| property | String | Yes | Attribut in der Category, for example: "manufacturer" |
| value | String | Yes | Value of the attribute |
| entry_id | String | Yes | Entry identifier, for example: 3 |
Request
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| entry_id | Integer/String | Entry identifier, for example: 3 |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.dialog.delete#
cmdb.dialog.delete (Click to expand)
Deletes dialogs
Request parameter
| Key | JSON data type | Required | Description |
|---|---|---|---|
| category | String | Yes | Category constant, for example: "C__CATG__CPU" |
| property | String | Yes | Attribut in der Category, for example: "manufacturer" |
| entry_id | String | Yes | Entry identifier, for example: 3 |
Response
JSON key result contains a JSON object..
| Key | JSON data type | Description |
|---|---|---|
| success | Boolean | Should be true |
| entry_id | Integer/String | Entry identifier, for example: 3 |
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 11 12 | |
Body:
1 2 3 4 5 6 7 8 | |
cmdb.reports.read#
cmdb.reports.read (Click to expand)
Display a report.
Request parameter
None
Response
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| id | String | Identifier |
| category | String | Attribute category in category General |
| title | String | Title of the report |
| description | String | Description of the report |
| created | String | When it was created |
example
Request
Body:
1 2 3 4 5 6 7 8 9 | |
Body:
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 | |
Or you can also use the parameter "id" in your request to retrieve the corresponding report
Request parameter
| Key | JSON data type | Description |
|---|---|---|
| id | String | Identifier |
Response
JSON key result contains a JSON object..
example
Request
Body:
1 2 3 4 5 6 7 8 9 10 | |
Body:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |