idoit
Work in Progress
idoit.addons#
Displays a list of installed add-ons
Request parameters#
| Key | JSON data type | Description |
|---|---|---|
| - | - | - |
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 | |
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 | |
idoit.constants#
Fetch defined constants from i-doit.
Request parameters#
| Key | JSON data type | Description |
|---|---|---|
| - | - | - |
Response#
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| objectTypes | Object | List of object types Keys: object type constants Values: translated object type titles |
| categories | Object | List of global and specific categories |
| categories.g | Object | List of global categories Keys: category constants Values: translated category titles |
| categories.s | Object | List of specific categories Keys: category constants Values: translated category titles |
Example#
1 2 3 4 5 6 7 8 9 | |
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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
idoit.license#
Displays information about the installed license.
Request parameters#
| Key | JSON data type | Required | Description |
|---|---|---|---|
| Placeholder | Placeholder | Yes | Placeholder |
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 | |
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 | |
idoit.login#
Create new session with X-RPC-Auth headers.
Request parameters#
| Key | JSON data type | Required | Description |
|---|---|---|---|
| - | - | - | - |
Response parameters#
JSON key result contains a JSON object.
| Key | JSON data type | Description |
|---|---|---|
| result | Boolean | Should be true |
| userid | String | Object identifier of logged-in user (as numeric string) |
| name | String | Object title of logged-in user |
| String | Attribute E-mail address in category Persons → Master Data | |
| username | String | Attribute User name in category Persons → Login |
| session-id | String | Generated session identifier |
| client-id | String | Tenant identifier (as numeric string) |
| client-name | String | Tenant name |
Example#
1 2 | |
1 2 3 4 5 6 7 8 9 | |
1 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
idoit.logout#
Close current session
Request parameters#
| Key | JSON data type | Description |
|---|---|---|
| - | - | - |
Response parameters#
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 before.
1 | |
1 2 3 4 5 6 7 8 9 | |
1 | |
1 2 3 4 5 6 7 8 | |
idoit.search#
Search in i-doit
Request parameters#
| Key | JSON data typ | Required | Description |
|---|---|---|---|
| q | String | Yes | Query, for example: "My little server" |
Response parameters#
JSON key result contains an array of JSON objects. Each object contains a search result.
| Key | JSON data type | Description |
|---|---|---|
| documentID | String | Identifier |
| key | String | Attribute which relates to query |
| value | String | Value which relates to query |
| type | String | Add-on or core feature |
| link | String | Relative URL which directly links to search result |
| score | Integer | Scoring (deprecated) |
| 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 |
Example#
1 2 3 4 5 6 7 8 9 10 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
idoit.version#
Fetch information about i-doit and the current user
Request parameters#
| Key | JSON data type | Description |
|---|---|---|
| - | - | - |
Response parameters#
JSON key result contains an 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 has performed the request; see below for details |
| login.userid | String | Object identifier (as numeric string) |
| login.name | String | Object title |
| login.mail | String | E-mail address (see category Persons → Master Data) |
| login.username | String | User name (see category Persons → Login) |
| login.mandator | String | Tenant name |
| login.language | String | Language: "en" or "de" |
| version | String | Version of installed i-doit |
| step | String | Dev, alpha or beta release |
| type | String | Release variant: "OPEN" or "PRO" |
Example#
1 2 3 4 5 6 7 8 9 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |