cmdb.workstation_components
Work in Progress
cmdb.workstation_components.read#
Fetches workplace components for a Person.
Request parameters#
| Key | JSON data type | Required | Description |
|---|---|---|---|
| filter | Object | Yes | At least one of the following keys |
| filter.id | Integer | No | Object identifier of a person |
| filter.ids | Array | No | Object identifiers of persons (as integers) |
| filter.email | String | No | E-mail address of a person |
| filter.emails | Array | No | E-mail addresses of persons (as strings) |
Response parameters#
JSON key result contains a JSON object. Keys are the object identifiers of the persons; each value is a JSON object with the keys data and children.
| Key | JSON data type | Description |
|---|---|---|
| data.id | String | Object identifier of the person (as numeric string) |
| data.title | String | Object title of the person |
| data.sysid | String | SYSID (see category Global) |
| data.type | String | Object type identifier (as numeric string) |
| data.type_title | String | Translated name of object type; may be empty |
| data.status | String | Record status (as numeric string) |
| data.email | String | Primary e-mail address of the person |
| data.first_name | String | First name of the person |
| data.last_name | String | Last name of the person |
| children | Object or Boolean | Workplaces of the person Keys: object identifiers of the workplaces false if the person has no workplace |
Each workplace in children again has the keys data (with id, title, sysid, type, type_title and status) and children (the components of the workplace, same structure). For components, children is false.
Example#
1 2 3 4 5 6 7 8 9 10 11 12 | |
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 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
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 | |
Siehe auch#
- API v1 Methoden — Übersicht aller API v1 Methoden
- API Add-on — Einstieg in das API Add-on
- i-doit Add-ons — Alle verfügbaren Add-ons