en-us	#### Retrieving a dashboard by ID  Retrieve all data about dashboards "1" and "2".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "dashboard.get",     "params": {         "output": "extend",         "selectPages": "extend",         "selectUsers": "extend",         "selectUserGroups": "extend",         "dashboardids": [             "1",             "2"         ]     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dashboardid": "1",             "name": "Dashboard",             "userid": "1",             "private": "0",             "display_period": "30",             "auto_start": "1",             "users": [],             "userGroups": [],             "pages": [                 {                     "dashboard_pageid": "1",                     "name": "",                     "display_period": "0",                     "widgets": [                         {                             "widgetid": "9",                             "type": "systeminfo",                             "name": "",                             "x": "12",                             "y": "8",                             "width": "12",                             "height": "5",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "8",                             "type": "problemsbysv",                             "name": "",                             "x": "12",                             "y": "4",                             "width": "12",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "7",                             "type": "problemhosts",                             "name": "",                             "x": "12",                             "y": "0",                             "width": "12",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "6",                             "type": "discovery",                             "name": "",                             "x": "6",                             "y": "9",                             "width": "18",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "5",                             "type": "web",                             "name": "",                             "x": "0",                             "y": "9",                             "width": "18",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "4",                             "type": "problems",                             "name": "",                             "x": "0",                             "y": "3",                             "width": "12",                             "height": "6",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "3",                             "type": "favmaps",                             "name": "",                             "x": "8",                             "y": "0",                             "width": "12",                             "height": "3",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "1",                             "type": "favgraphs",                             "name": "",                             "x": "0",                             "y": "0",                             "width": "12",                             "height": "3",                             "view_mode": "0",                             "fields": []                         }                     ]                 },                 {                     "dashboard_pageid": "2",                     "name": "",                     "display_period": "0",                     "widgets": []                 },                 {                     "dashboard_pageid": "3",                     "name": "Custom page name",                     "display_period": "60",                     "widgets": []                 }             ]         },         {             "dashboardid": "2",             "name": "My dashboard",             "userid": "1",             "private": "1",             "display_period": "60",             "auto_start": "1",             "users": [                 {                     "userid": "4",                     "permission": "3"                 }             ],             "userGroups": [                 {                     "usrgrpid": "7",                     "permission": "2"                 }             ],             "pages": [                 {                     "dashboard_pageid": "4",                     "name": "",                     "display_period": "0",                     "widgets": [                         {                             "widgetid": "10",                             "type": "problems",                             "name": "",                             "x": "0",                             "y": "0",                             "width": "12",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "2",                                     "name": "groupids",                                     "value": "4"                                 }                             ]                         }                     ]                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperar un tablero por ID  Recupere todos los datos sobre los tableros "1" y "2".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "dashboard.get",     "params": {         "output": "extend",         "selectPages": "extend",         "selectUsers": "extend",         "selectUserGroups": "extend",         "dashboardids": [             "1",             "2"         ]     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dashboardid": "1",             "name": "Dashboard",             "userid": "1",             "private": "0",             "display_period": "30",             "auto_start": "1",             "users": [],             "userGroups": [],             "pages": [                 {                     "dashboard_pageid": "1",                     "name": "",                     "display_period": "0",                     "widgets": [                         {                             "widgetid": "9",                             "type": "systeminfo",                             "name": "",                             "x": "12",                             "y": "8",                             "width": "12",                             "height": "5",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "8",                             "type": "problemsbysv",                             "name": "",                             "x": "12",                             "y": "4",                             "width": "12",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "7",                             "type": "problemhosts",                             "name": "",                             "x": "12",                             "y": "0",                             "width": "12",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "6",                             "type": "discovery",                             "name": "",                             "x": "6",                             "y": "9",                             "width": "18",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "5",                             "type": "web",                             "name": "",                             "x": "0",                             "y": "9",                             "width": "18",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "4",                             "type": "problems",                             "name": "",                             "x": "0",                             "y": "3",                             "width": "12",                             "height": "6",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "3",                             "type": "favmaps",                             "name": "",                             "x": "8",                             "y": "0",                             "width": "12",                             "height": "3",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "1",                             "type": "favgraphs",                             "name": "",                             "x": "0",                             "y": "0",                             "width": "12",                             "height": "3",                             "view_mode": "0",                             "fields": []                         }                     ]                 },                 {                     "dashboard_pageid": "2",                     "name": "",                     "display_period": "0",                     "widgets": []                 },                 {                     "dashboard_pageid": "3",                     "name": "Custom page name",                     "display_period": "60",                     "widgets": []                 }             ]         },         {             "dashboardid": "2",             "name": "My dashboard",             "userid": "1",             "private": "1",             "display_period": "60",             "auto_start": "1",             "users": [                 {                     "userid": "4",                     "permission": "3"                 }             ],             "userGroups": [                 {                     "usrgrpid": "7",                     "permission": "2"                 }             ],             "pages": [                 {                     "dashboard_pageid": "4",                     "name": "",                     "display_period": "0",                     "widgets": [                         {                             "widgetid": "10",                             "type": "problems",                             "name": "",                             "x": "0",                             "y": "0",                             "width": "12",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "2",                                     "name": "groupids",                                     "value": "4"                                 }                             ]                         }                     ]                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving all connectors  Retrieve all data about all connectors and their properties.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "connector.get",     "params": {         "output": "extend",         "selectTags": ["tag", "operator", "value"],         "preservekeys": true     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "connectorid": "1",             "name": "Export of item values",             "protocol": "0",             "data_type": "0",             "url": "{$DATA_EXPORT_VALUES_URL}",             "item_value_type": "31",             "authtype": "4",             "username": "{$DATA_EXPORT_VALUES_USERNAME}",             "password": "{$DATA_EXPORT_VALUES_PASSWORD}",             "token": "",             "max_records": "0",             "max_senders": "4",             "max_attempts": "2",             "attempt_interval": "10s",             "timeout": "10s",             "http_proxy": "{$DATA_EXPORT_VALUES_PROXY}",             "verify_peer": "1",             "verify_host": "1",             "ssl_cert_file": "{$DATA_EXPORT_VALUES_SSL_CERT_FILE}",             "ssl_key_file": "{$DATA_EXPORT_VALUES_SSL_KEY_FILE}",             "ssl_key_password": "",             "description": "",             "status": "1",             "tags_evaltype": "0",             "tags": [                 {                     "tag": "component",                     "operator": "0",                     "value": "memory"                 }             ]         },         {             "connectorid": "2",             "name": "Export of events",             "protocol": "0",             "data_type": "1",             "url": "{$DATA_EXPORT_EVENTS_URL}",             "item_value_type": "31",             "authtype": "5",             "username": "",             "password": "",             "token": "{$DATA_EXPORT_EVENTS_BEARER_TOKEN}",             "max_records": "0",             "max_senders": "2",             "max_attempts": "1",             "attempt_interval": "5s",             "timeout": "5s",             "http_proxy": "",             "verify_peer": "1",             "verify_host": "1",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "description": "",             "status": "1",             "tags_evaltype": "0",             "tags": [                 {                     "tag": "scope",                     "operator": "0",                     "value": "performance"                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperar todos los conectores  Recupere todos los datos sobre todos los conectores y sus propiedades.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "connector.get",     "params": {         "output": "extend",         "selectTags": ["tag", "operator", "value"],         "preservekeys": true     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "connectorid": "1",             "name": "Export of item values",             "protocol": "0",             "data_type": "0",             "url": "{$DATA_EXPORT_VALUES_URL}",             "item_value_type": "31",             "authtype": "4",             "username": "{$DATA_EXPORT_VALUES_USERNAME}",             "password": "{$DATA_EXPORT_VALUES_PASSWORD}",             "token": "",             "max_records": "0",             "max_senders": "4",             "max_attempts": "2",             "attempt_interval": "10s",             "timeout": "10s",             "http_proxy": "{$DATA_EXPORT_VALUES_PROXY}",             "verify_peer": "1",             "verify_host": "1",             "ssl_cert_file": "{$DATA_EXPORT_VALUES_SSL_CERT_FILE}",             "ssl_key_file": "{$DATA_EXPORT_VALUES_SSL_KEY_FILE}",             "ssl_key_password": "",             "description": "",             "status": "1",             "tags_evaltype": "0",             "tags": [                 {                     "tag": "component",                     "operator": "0",                     "value": "memory"                 }             ]         },         {             "connectorid": "2",             "name": "Export of events",             "protocol": "0",             "data_type": "1",             "url": "{$DATA_EXPORT_EVENTS_URL}",             "item_value_type": "31",             "authtype": "5",             "username": "",             "password": "",             "token": "{$DATA_EXPORT_EVENTS_BEARER_TOKEN}",             "max_records": "0",             "max_senders": "2",             "max_attempts": "1",             "attempt_interval": "5s",             "timeout": "5s",             "http_proxy": "",             "verify_peer": "1",             "verify_host": "1",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "description": "",             "status": "1",             "tags_evaltype": "0",             "tags": [                 {                     "tag": "scope",                     "operator": "0",                     "value": "performance"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving all services  Retrieve all data about all services and their dependencies.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "service.get",     "params": {         "output": "extend",         "selectChildren": "extend",         "selectParents": "extend"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "serviceid": "1",             "name": "My Service - 0001",             "status": "-1",             "algorithm": "2",             "sortorder": "0",             "weight": "0",             "propagation_rule": "0",             "propagation_value": "0",             "description": "My Service Description 0001.",             "uuid": "dfa4daeaea754e3a95c04d6029182681",             "created_at": "946684800",             "readonly": false,             "parents": [],             "children": []         },         {             "serviceid": "2",             "name": "My Service - 0002",             "status": "-1",             "algorithm": "2",             "sortorder": "0",             "weight": "0",             "propagation_rule": "0",             "propagation_value": "0",             "description": "My Service Description 0002.",             "uuid": "20ea0d85212841219130abeaca28c065",             "created_at": "946684800",             "readonly": false,             "parents": [],             "children": []         }     ],     "id": 1 } ```
es	#### Recuperando todos los servicios  Recupere todos los datos sobre todos los servicios y sus dependencias.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "service.get",     "params": {         "output": "extend",         "selectChildren": "extend",         "selectParents": "extend"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "serviceid": "1",             "name": "My Service - 0001",             "status": "-1",             "algorithm": "2",             "sortorder": "0",             "weight": "0",             "propagation_rule": "0",             "propagation_value": "0",             "description": "My Service Description 0001.",             "uuid": "dfa4daeaea754e3a95c04d6029182681",             "created_at": "946684800",             "readonly": false,             "parents": [],             "children": []         },         {             "serviceid": "2",             "name": "My Service - 0002",             "status": "-1",             "algorithm": "2",             "sortorder": "0",             "weight": "0",             "propagation_rule": "0",             "propagation_value": "0",             "description": "My Service Description 0002.",             "uuid": "20ea0d85212841219130abeaca28c065",             "created_at": "946684800",             "readonly": false,             "parents": [],             "children": []         }     ],     "id": 1 } ```

en-us	#### Retrieving all SLAs  Retrieve all data about all SLAs and their properties.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "sla.get",     "params": {         "output": "extend",         "selectSchedule": ["period_from", "period_to"],         "selectExcludedDowntimes": ["name", "period_from", "period_to"],         "selectServiceTags": ["tag", "operator", "value"],         "preservekeys": true     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "1": {             "slaid": "1",             "name": "Database Uptime",             "period": "1",             "slo": "99.9995",             "effective_date": "1672444800",             "timezone": "America/Toronto",             "status": "1",             "description": "Provide excellent uptime for main SQL database engines.",             "service_tags": [                 {                     "tag": "Database",                     "operator": "0",                     "value": "MySQL"                 },                 {                     "tag": "Database",                     "operator": "0",                     "value": "PostgreSQL"                 }             ],             "schedule": [                 {                     "period_from": "0",                     "period_to": "601200"                 }             ],             "excluded_downtimes": [                 {                     "name": "Software version upgrade rollout",                     "period_from": "1648760400",                     "period_to": "1648764900"                 }             ]         }     },     "id": 1 } ```
es	#### Recuperando todos los SLA  Recupere todos los datos sobre todos los SLA y sus propiedades.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "sla.get",     "params": {         "output": "extend",         "selectSchedule": ["period_from", "period_to"],         "selectExcludedDowntimes": ["name", "period_from", "period_to"],         "selectServiceTags": ["tag", "operator", "value"],         "preservekeys": true     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": {         "1": {             "slaid": "1",             "name": "Database Uptime",             "period": "1",             "slo": "99.9995",             "effective_date": "1672444800",             "timezone": "America/Toronto",             "status": "1",             "description": "Provide excellent uptime for main SQL database engines.",             "service_tags": [                 {                     "tag": "Database",                     "operator": "0",                     "value": "MySQL"                 },                 {                     "tag": "Database",                     "operator": "0",                     "value": "PostgreSQL"                 }             ],             "schedule": [                 {                     "period_from": "0",                     "period_to": "601200"                 }             ],             "excluded_downtimes": [                 {                     "name": "Software version upgrade rollout",                     "period_from": "1648760400",                     "period_to": "1648764900"                 }             ]         }     },     "id": 1 } ```

en-us	#### Retrieving a module by ID  Retrieve all data about modules "1", "2", and "25".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "module.get",     "params": {         "output": "extend",         "moduleids": [             "1",             "2",             "25"         ]     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "moduleid": "1",             "id": "actionlog",             "relative_path": "widgets/actionlog",             "status": "1",             "config": []         },         {             "moduleid": "2",             "id": "clock",             "relative_path": "widgets/clock",             "status": "1",             "config": []         },         {             "moduleid": "25",             "id": "example",             "relative_path": "modules/example_module",             "status": "1",             "config": []         }     ],     "id": 1 } ```
es	#### Recuperar un módulo por ID  Recupere todos los datos sobre los módulos "1", "2" y "25".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "module.get",     "params": {         "output": "extend",         "moduleids": [             "1",             "2",             "25"         ]     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "moduleid": "1",             "id": "actionlog",             "relative_path": "widgets/actionlog",             "status": "1",             "config": []         },         {             "moduleid": "2",             "id": "clock",             "relative_path": "widgets/clock",             "status": "1",             "config": []         },         {             "moduleid": "25",             "id": "example",             "relative_path": "modules/example_module",             "status": "1",             "config": []         }     ],     "id": 1 } ```

en-us	#### Retrieving a specific trigger prototype with tags  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "triggerprototype.get",     "params": {         "output": [             "triggerid",             "description"         ],         "selectTags": "extend",         "triggerids": [             "17373"         ]     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "triggerid": "17373",             "description": "Free disk space is less than 20% on volume {#FSNAME}",             "tags": [                 {                     "tag": "volume",                     "value": "{#FSNAME}"                 },                 {                     "tag": "type",                     "value": "{#FSTYPE}"                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperar un prototipo de iniciador específico con etiquetas  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "triggerprototype.get",     "params": {         "output": [             "triggerid",             "description"         ],         "selectTags": "extend",         "triggerids": [             "17373"         ]     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "triggerid": "17373",             "description": "Free disk space is less than 20% on volume {#FSNAME}",             "tags": [                 {                     "tag": "volume",                     "value": "{#FSNAME}"                 },                 {                     "tag": "type",                     "value": "{#FSTYPE}"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving a specific trigger with tags  Retrieve a specific trigger with tags.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "trigger.get",     "params": {         "output": [             "triggerid",             "description"         ],         "selectTags": "extend",         "triggerids": [             "17578"         ]     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "triggerid": "17370",             "description": "Service status",             "tags": [                 {                     "tag": "service",                     "value": "{{ITEM.VALUE}.regsub(\"Service (.*) has stopped\", \"\\1\")}"                 },                 {                     "tag": "error",                     "value": ""                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperar un iniciador específico con etiquetas  Recupera un iniciador específico con etiquetas.  [Solicitud](/manual/api#performing-requests):  ```json { "jsonrpc": "2.0", "method": "trigger.get", "params": { "output": [ "triggerid", "description" ], "selectTags": "extend", "triggerids": [ "17578" ] }, "id": 1 } ```  Respuesta:  ```json { "jsonrpc": "2.0", "result": [ { "triggerid": "17370", "description": "Service status", "tags": [ { "tag": "service", "value": "{{ITEM.VALUE}.regsub(\"Service (.*) has stopped\", \"\\1\")}" }, { "tag": "error", "value": "" } ] } ], "id": 1 } ```

en-us	#### Retrieving a web scenario  Retrieve all data about web scenario "4".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "httptest.get",     "params": {         "output": "extend",         "selectSteps": "extend",         "httptestids": "9"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "httptestid": "9",             "name": "Homepage check",             "delay": "1m",             "status": "0",             "variables": [],             "agent": "Zabbix",             "authentication": "0",             "http_user": "",             "http_password": "",             "hostid": "10084",             "templateid": "0",             "http_proxy": "",             "retries": "1",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "headers": [],             "steps": [                 {                     "httpstepid": "36",                     "httptestid": "9",                     "name": "Homepage",                     "no": "1",                     "url": "http://example.com",                     "timeout": "15s",                     "posts": "",                     "required": "",                     "status_codes": "200",                     "variables": [                         {                             "name":"{var}",                             "value":"12"                         }                     ],                     "follow_redirects": "1",                     "retrieve_mode": "0",                     "headers": [],                     "query_fields": []                 },                 {                     "httpstepid": "37",                     "httptestid": "9",                     "name": "Homepage / About",                     "no": "2",                     "url": "http://example.com/about",                     "timeout": "15s",                     "posts": "",                     "required": "",                     "status_codes": "200",                     "variables": [],                     "follow_redirects": "1",                     "retrieve_mode": "0",                     "headers": [],                     "query_fields": []                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperando un escenario web  Recupere todos los datos sobre el escenario web "4".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "httptest.get",     "params": {         "output": "extend",         "selectSteps": "extend",         "httptestids": "9"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "httptestid": "9",             "name": "Homepage check",             "delay": "1m",             "status": "0",             "variables": [],             "agent": "Zabbix",             "authentication": "0",             "http_user": "",             "http_password": "",             "hostid": "10084",             "templateid": "0",             "http_proxy": "",             "retries": "1",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "headers": [],             "steps": [                 {                     "httpstepid": "36",                     "httptestid": "9",                     "name": "Homepage",                     "no": "1",                     "url": "http://example.com",                     "timeout": "15s",                     "posts": "",                     "required": "",                     "status_codes": "200",                     "variables": [                         {                             "name":"{var}",                             "value":"12"                         }                     ],                     "follow_redirects": "1",                     "retrieve_mode": "0",                     "headers": [],                     "query_fields": []                 },                 {                     "httpstepid": "37",                     "httptestid": "9",                     "name": "Homepage / About",                     "no": "2",                     "url": "http://example.com/about",                     "timeout": "15s",                     "posts": "",                     "required": "",                     "status_codes": "200",                     "variables": [],                     "follow_redirects": "1",                     "retrieve_mode": "0",                     "headers": [],                     "query_fields": []                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving database credentials  To retrieve a secret with database credentials successfully, it is required to configure both:   -   Zabbix server/proxy -   Zabbix frontend  ##### Server/proxy  To configure Zabbix [server](/manual/appendix/config/zabbix_server) or [proxy](/manual/appendix/config/zabbix_proxy),  specify the following configuration parameters in the configuration file:  -   `Vault` - which vault provider should be used; -   `VaultToken` - vault authentication token (see Zabbix server/proxy configuration file for details); -   `VaultURL` - vault server HTTP\[S\] URL; -   `VaultDBPath` - path to the vault secret containing database credentials; Zabbix server or proxy will retrieve the credentials by keys "password" and "username"; -   `VaultPrefix` - custom prefix for the vault path or query, depending on the vault; if not specified, the most suitable default will be used.  :::noteimportant Zabbix server also uses the `Vault`, `VaultToken`, `VaultURL`, and `VaultPrefix` configuration parameters for vault authentication when processing vault secret macros. :::  Zabbix server and Zabbix proxy read the vault-related configuration parameters from *zabbix_server.conf* and *zabbix_proxy.conf* upon startup. Additionally, Zabbix server and Zabbix proxy will read the `VAULT_TOKEN` environment variable once during startup and will unset it so that it would not be available through forked scripts; it is an error if both `VaultToken` and `VAULT_TOKEN` parameters contain a value.
es	#### Recuperando credenciales de base de datos  Para recuperar exitosamente un secreto con credenciales de base de datos, es necesario configurar ambos:   - Servidor/proxy Zabbix - Interfaz de Zabbix  ##### Servidor/proxy  Para configurar Zabbix [servidor](/manual/appendix/config/zabbix_server) o [proxy](/manual/appendix/config/zabbix_proxy),  especifique los siguientes parámetros de configuración en el archivo de configuración:  - `Vault`: qué proveedor de bóveda se debe utilizar; - `VaultToken`: token de autenticación de bóveda (consulte el archivo de configuración del servidor/proxy Zabbix para obtener más detalles); - `VaultURL` - URL HTTP\[S\] del servidor de bóveda; - `VaultDBPath`: ruta al secreto de la bóveda que contiene las credenciales de la base de datos; El servidor o proxy de Zabbix recuperará las credenciales mediante las claves "contraseña" y "nombre de usuario"; - `VaultPrefix`: prefijo personalizado para la ruta o consulta de la bóveda, según la bóveda; si no se especifica, se utilizará el valor predeterminado más adecuado.  :::notaimportante El servidor Zabbix también utiliza los parámetros de configuración `Vault`, `VaultToken`, `VaultURL` y `VaultPrefix` para la autenticación de la bóveda cuando se procesan macros secretas de la bóveda. :::  El servidor Zabbix y el proxy Zabbix leen los parámetros de configuración relacionados con la bóveda de *zabbix_server.conf* y *zabbix_proxy.conf* al inicio. Además, el servidor Zabbix y el proxy Zabbix leerán la variable de entorno `VAULT_TOKEN` una vez durante el inicio y la desactivarán para que no esté disponible a través de scripts bifurcados; es un error si los parámetros `VaultToken` y `VAULT_TOKEN` contienen un valor.

en-us	#### Retrieving data by name  Retrieve all data about two host groups named "Zabbix servers" and "Linux servers".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.get",     "params": {         "output": "extend",         "filter": {             "name": [                 "Zabbix servers",                 "Linux servers"             ]         }     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "groupid": "2",             "name": "Linux servers",             "internal": "0"         },         {             "groupid": "4",             "name": "Zabbix servers",             "internal": "0"         }     ],     "id": 1 } ```
es	#### Recuperando datos por nombre  Recupere todos los datos sobre dos grupos de equipos denominados "servidores Zabbix" y "servidores Linux".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.get",     "params": {         "output": "extend",         "filter": {             "name": [                 "servidores Zabbix",                 "servidores Linux"             ]         }     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "groupid": "2",             "name": "servidores Linux",             "internal": "0"         },         {             "groupid": "4",             "name": "servidores Zabbix",             "internal": "0"         }     ],     "id": 1 } ```

en-us	#### Retrieving data by name  Retrieve all data about two hosts named "Zabbix server" and "Linux server".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "filter": {             "host": [                 "Zabbix server",                 "Linux server"             ]         }     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10160",             "proxyid": "0",             "host": "Zabbix server",             "status": "0",             "ipmi_authtype": "-1",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "name": "Zabbix server",             "flags": "0",             "description": "The Zabbix monitoring server.",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "proxy_groupid": "0",             "monitored_by": "0",             "inventory_mode": "1",             "active_available": "1",             "assigned_proxyid": "0"         },         {             "hostid": "10167",             "proxyid": "0",             "host": "Linux server",             "status": "0",             "ipmi_authtype": "-1",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "name": "Linux server",             "flags": "0",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "proxy_groupid": "0",             "monitored_by": "0",             "inventory_mode": "1",             "active_available": "1",             "assigned_proxyid": "0"         }     ],     "id": 1 } ```
es	#### Recuperando datos por nombre  Recupere todos los datos sobre dos equipos llamados "servidor Zabbix" y " servidor  Linux".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "filter": {             "host": [                 "Zabbix server",                 "Linux server"             ]         }     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10160",             "proxy_hostid": "0",             "host": "Zabbix server",             "status": "0",             "lastaccess": "0",             "ipmi_authtype": "-1",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "name": "Zabbix server",             "flags": "0",             "description": "The Zabbix monitoring server.",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "inventory_mode": "1",             "active_available": "1"         },         {             "hostid": "10167",             "proxy_hostid": "0",             "host": "Linux server",             "status": "0",             "ipmi_authtype": "-1",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "name": "Linux server",             "flags": "0",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "inventory_mode": "1",             "active_available": "1"         }     ],     "id": 1 } ```

en-us	#### Retrieving data by name  Retrieve all data about two template groups named "Templates/Databases" and "Templates/Modules".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "templategroup.get",     "params": {         "output": "extend",         "filter": {             "name": [                 "Templates/Databases",                 "Templates/Modules"             ]         }     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "groupid": "13",             "name": "Templates/Databases",             "uuid": "748ad4d098d447d492bb935c907f652f"         },         {             "groupid": "8",             "name": "Templates/Modules",             "uuid": "57b7ae836ca64446ba2c296389c009b7"         }     ],     "id": 1 } ```
es	#### Recuperando datos por nombre  Recupere todos los datos sobre dos grupos de plantillas denominados "Templates/Databases" y "Templates/Modules".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "templategroup.get",     "params": {         "output": "extend",         "filter": {             "name": [                 "Templates/Databases",                 "Templates/Modules"             ]         }     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "groupid": "13",             "name": "Templates/Databases",             "uuid": "748ad4d098d447d492bb935c907f652f"         },         {             "groupid": "8",             "name": "Templates/Modules",             "uuid": "57b7ae836ca64446ba2c296389c009b7"         }     ],     "id": 1 } ```

en-us	#### Retrieving data by trigger ID  Retrieve all data and the functions used in trigger "14062".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "trigger.get",     "params": {         "triggerids": "14062",         "output": "extend",         "selectFunctions": "extend"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "triggerid": "14062",             "expression": "{13513}<10m",             "description": "{HOST.NAME} has been restarted (uptime < 10m)",             "url": "",             "status": "0",             "value": "0",             "priority": "2",             "lastchange": "0",             "comments": "The host uptime is less than 10 minutes",             "error": "",             "templateid": "10016",             "type": "0",             "state": "0",             "flags": "0",             "recovery_mode": "0",             "recovery_expression": "",             "correlation_mode": "0",             "correlation_tag": "",             "manual_close": "0",             "opdata": "",             "event_name": "",             "uuid": "",             "url_name": "",             "functions": [                 {                     "functionid": "13513",                     "itemid": "24350",                     "triggerid": "14062",                     "parameter": "$",                     "function": "last"                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperar datos por ID de iniciador  Recupera todos los datos y las funciones utilizadas en el iniciador "14062".  [Solicitud](/manual/api#performing-requests):  ```json { "jsonrpc": "2.0", "method": "trigger.get", "params": { "triggerids": "14062", "output": "extend", "selectFunctions": "extend" }, "id": 1 } ```  Respuesta:  ```json { "jsonrpc": "2.0", "result": [ { "triggerid": "14062", "expression": "{13513}<10m", "description": "{HOST.NAME} has been restarted (uptime < 10m)", "url": "", "status": "0", "value": "0", "priority": "2", "lastchange": "0", "comments": "The host uptime is less than 10 minutes", "error": "", "templateid": "10016", "type": "0", "state": "0", "flags": "0", "recovery_mode": "0", "recovery_expression": "", "correlation_mode": "0", "correlation_tag": "", "manual_close": "0", "opdata": "", "event_name": "", "uuid": "", "url_name": "", "functions": [ { "functionid": "13513", "itemid": "24350", "triggerid": "14062", "parameter": "$", "function": "last" } ] } ], "id": 1 } ```

en-us	#### Retrieving discovery rules from a host  Retrieve all discovery rules for specific host ID.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "output": "extend",         "hostids": "10202"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "27425",             "type": "0",             "snmp_oid": "",             "hostid": "10202",             "name": "Network interface discovery",             "key_": "net.if.discovery",             "delay": "1h",             "status": "0",             "trapper_hosts": "",             "templateid": "22444",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "119",             "description": "Discovery of network interfaces as defined in global regular expression \"Network interfaces for discovery\".",             "lifetime": "30d",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "uuid": "",             "lifetime_type": "0",             "enabled_lifetime_type": "2",             "enabled_lifetime": "0",             "state": "0",             "error": "",             "parameters": []         },         {             "itemid": "27426",             "type": "0",             "snmp_oid": "",             "hostid": "10202",             "name": "Mounted filesystem discovery",             "key_": "vfs.fs.discovery",             "delay": "1h",             "status": "0",             "trapper_hosts": "",             "templateid": "22450",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "119",             "description": "Discovery of file systems of different types as defined in global regular expression \"File systems for discovery\".",             "lifetime": "30d",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "uuid": "",             "lifetime_type": "0",             "enabled_lifetime_type": "2",             "enabled_lifetime": "0",             "state": "0",             "error": "",             "parameters": []         }     ],     "id": 1 } ```
es	#### Recuperar reglas de descubrimiento de un equipo  Recupere todas las reglas de descubrimiento para una ID de equipo específica.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "output": "extend",         "hostids": "10202"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "27425",             "type": "0",             "snmp_oid": "",             "hostid": "10202",             "name": "Network interface discovery",             "key_": "net.if.discovery",             "delay": "1h",             "status": "0",             "trapper_hosts": "",             "templateid": "22444",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "119",             "description": "Discovery of network interfaces as defined in global regular expression \"Network interfaces for discovery\".",             "lifetime": "30d",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "uuid": "",             "lifetime_type": "0",             "enabled_lifetime_type": "2",             "enabled_lifetime": "0",             "state": "0",             "error": "",             "parameters": []         },         {             "itemid": "27426",             "type": "0",             "snmp_oid": "",             "hostid": "10202",             "name": "Mounted filesystem discovery",             "key_": "vfs.fs.discovery",             "delay": "1h",             "status": "0",             "trapper_hosts": "",             "templateid": "22450",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "119",             "description": "Discovery of file systems of different types as defined in global regular expression \"File systems for discovery\".",             "lifetime": "30d",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "uuid": "",             "lifetime_type": "0",             "enabled_lifetime_type": "2",             "enabled_lifetime": "0",             "state": "0",             "error": "",             "parameters": []         }     ],     "id": 1 } ```

en-us	#### Retrieving enabled user groups  Retrieve all enabled user groups.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "usergroup.get",     "params": {         "output": "extend",         "status": 0     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "usrgrpid": "7",             "name": "Zabbix administrators",             "gui_access": "0",             "users_status": "0",             "debug_mode": "1",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         },         {             "usrgrpid": "8",             "name": "Guests",             "gui_access": "0",             "users_status": "0",             "debug_mode": "0",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         },         {             "usrgrpid": "11",             "name": "Enabled debug mode",             "gui_access": "0",             "users_status": "0",             "debug_mode": "1",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         },         {             "usrgrpid": "12",             "name": "No access to the frontend",             "gui_access": "2",             "users_status": "0",             "debug_mode": "0",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         },         {             "usrgrpid": "14",             "name": "Read only",             "gui_access": "0",             "users_status": "0",             "debug_mode": "0",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         },         {             "usrgrpid": "18",             "name": "Deny",             "gui_access": "0",             "users_status": "0",             "debug_mode": "0",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         }     ],     "id": 1 } ```
es	#### Recuperando grupos de usuarios habilitados  Recupera todos los grupos de usuarios habilitados.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "método": "usergroup.get",     "parámetros": {         "salida": "extender",         "estado": 0     },     "identificación": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "resultado": [         {             "usrgrpid": "7",             "name": "Administradores de Zabbix",             "gui_access": "0",             "usuarios_status": "0",             "debug_mode": "1",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         },         {             "usrgrpid": "8",             "nombre": "Invitados",             "gui_access": "0",             "usuarios_status": "0",             "debug_mode": "0",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         },         {             "usrgrpid": "11",             "name": "Modo de depuración habilitado",             "gui_access": "0",             "usuarios_status": "0",             "debug_mode": "1",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         },         {             "usrgrpid": "12",             "name": "No hay acceso al frontend",             "gui_access": "2",             "usuarios_status": "0",             "debug_mode": "0",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         },         {             "usrgrpid": "14",             "nombre": "Solo lectura",             "gui_access": "0",             "usuarios_status": "0",             "debug_mode": "0",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         },         {             "usrgrpid": "18",             "nombre": "Denegar",             "gui_access": "0",             "usuarios_status": "0",             "debug_mode": "0",             "userdirectoryid": "0",             "mfa_status": "0",             "mfaid": "0"         }     ],     "identificación": 1 } ```

en-us	#### Retrieving events acknowledged by specified user  Retrieving events acknowledged by user with ID=10  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "event.get",     "params": {         "output": "extend",         "action": 2,         "action_userids": [10],         "selectAcknowledges": ["userid", "action"],         "sortfield": ["eventid"],         "sortorder": "DESC"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "1248566",             "source": "0",             "object": "0",             "objectid": "15142",             "clock": "1472457242",             "ns": "209442442",             "r_eventid": "1245468",             "r_clock": "1472457285",             "r_ns": "125644870",             "correlationid": "0",             "userid": "10",             "name": "Zabbix agent on localhost is unreachable for 5 minutes",             "acknowledged": "1",             "severity": "3",             "cause_eventid": "0",             "acknowledges": [                 {                     "userid": "10",                     "action": "2"                 }             ],             "opdata": "",             "suppressed": "0",             "urls": []         }     ],     "id": 1 } ```
es	#### Recuperar eventos reconocidos por el usuario especificado  Recuperando eventos reconocidos por el usuario con ID=10  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "event.get",     "params": {         "output": "extend",         "action": 2,         "action_userids": [10],         "selectAcknowledges": ["userid", "action"],         "sortfield": ["eventid"],         "sortorder": "DESC"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "1248566",             "source": "0",             "object": "0",             "objectid": "15142",             "clock": "1472457242",             "ns": "209442442",             "r_eventid": "1245468",             "r_clock": "1472457285",             "r_ns": "125644870",             "correlationid": "0",             "userid": "10",             "name": "Zabbix agent on localhost is unreachable for 5 minutes",             "acknowledged": "1",             "severity": "3",             "cause_eventid": "0",             "acknowledges": [                 {                     "userid": "10",                     "action": "2"                 }             ],             "opdata": "",             "suppressed": "0",             "urls": []         }     ],     "id": 1 } ```

en-us	#### Retrieving events by time period  Retrieve all events that have been created between October 9 and 10, 2012, in reverse chronological order.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "event.get",     "params": {         "output": "extend",         "time_from": "1349797228",         "time_till": "1350661228",         "sortfield": ["clock", "eventid"],         "sortorder": "desc"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "20616",             "source": "0",             "object": "0",             "objectid": "14282",             "clock": "1350477814",             "value": "1",             "acknowledged": "0",             "ns": "0",             "name": "Less than 25% free in the history cache",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "cause_eventid": "0",             "opdata": "",             "suppressed": "0",             "urls": []         },         {             "eventid": "20617",             "source": "0",             "object": "0",             "objectid": "14283",             "clock": "1350477814",             "value": "0",             "acknowledged": "0",             "ns": "0",             "name": "Zabbix trapper processes more than 75% busy",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "cause_eventid": "0",             "opdata": "",             "suppressed": "0",             "urls": []         },         {             "eventid": "20618",             "source": "0",             "object": "0",             "objectid": "14284",             "clock": "1350477815",             "value": "1",             "acknowledged": "0",             "ns": "0",             "name": "High ICMP ping loss",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "cause_eventid": "0",             "opdata": "",             "suppressed": "0",             "urls": []         }     ],     "id": 1 } ```
es	#### Recuperar eventos por período de tiempo  Recupera todos los eventos que se han creado entre el 9 y 10 de octubre de 2012, en orden cronológico inverso.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "event.get",     "params": {         "output": "extend",         "time_from": "1349797228",         "time_till": "1350661228",         "sortfield": ["clock", "eventid"],         "sortorder": "desc"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "20616",             "source": "0",             "object": "0",             "objectid": "14282",             "clock": "1350477814",             "value": "1",             "acknowledged": "0",             "ns": "0",             "name": "Less than 25% free in the history cache",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "cause_eventid": "0",             "opdata": "",             "suppressed": "0",             "urls": []         },         {             "eventid": "20617",             "source": "0",             "object": "0",             "objectid": "14283",             "clock": "1350477814",             "value": "0",             "acknowledged": "0",             "ns": "0",             "name": "Zabbix trapper processes more than 75% busy",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "cause_eventid": "0",             "opdata": "",             "suppressed": "0",             "urls": []         },         {             "eventid": "20618",             "source": "0",             "object": "0",             "objectid": "14284",             "clock": "1350477815",             "value": "1",             "acknowledged": "0",             "ns": "0",             "name": "High ICMP ping loss",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "cause_eventid": "0",             "opdata": "",             "suppressed": "0",             "urls": []         }     ],     "id": 1 } ```

en-us	#### Retrieving filter conditions  Retrieve the name of the LLD rule "24681" and its filter conditions. The filter uses the "and" evaluation type, so the `formula` property is empty and `eval_formula` is generated automatically.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "output": ["name"],         "selectFilter": "extend",         "itemids": ["24681"]     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "24681",             "name": "Filtered LLD rule",             "filter": {                 "evaltype": "1",                 "formula": "",                 "conditions": [                     {                         "macro": "{#MACRO1}",                         "value": "@regex1",                         "operator": "8",                         "formulaid": "A"                     },                     {                         "macro": "{#MACRO2}",                         "value": "@regex2",                         "operator": "9",                         "formulaid": "B"                     },                     {                         "macro": "{#MACRO3}",                         "value": "",                         "operator": "12",                         "formulaid": "C"                     },                     {                         "macro": "{#MACRO4}",                         "value": "",                         "operator": "13",                         "formulaid": "D"                     }                 ],                 "eval_formula": "A and B and C and D"             }         }     ],     "id": 1 } ```
es	#### Recuperando condiciones de filtro  Recupere el nombre de la regla LLD "24681" y sus condiciones de filtro. El filtro utiliza el tipo de evaluación "y", por lo que la propiedad `formula` esta vacía y `eval_formula` se genera automáticamente.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "output": ["name"],         "selectFilter": "extend",         "itemids": ["24681"]     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "24681",             "name": "Filtered LLD rule",             "filter": {                 "evaltype": "1",                 "formula": "",                 "conditions": [                     {                         "macro": "{#MACRO1}",                         "value": "@regex1",                         "operator": "8",                         "formulaid": "A"                     },                     {                         "macro": "{#MACRO2}",                         "value": "@regex2",                         "operator": "9",                         "formulaid": "B"                     },                     {                         "macro": "{#MACRO3}",                         "value": "",                         "operator": "12",                         "formulaid": "C"                     },                     {                         "macro": "{#MACRO4}",                         "value": "",                         "operator": "13",                         "formulaid": "D"                     }                 ],                 "eval_formula": "A and B and C and D"             }         }     ],     "id": 1 } ```

en-us	#### Retrieving global macros  Retrieve all global macros.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "usermacro.get",     "params": {         "output": "extend",         "globalmacro": true     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "globalmacroid": "6",             "macro": "{$SNMP_COMMUNITY}",             "value": "public",             "description": "",             "type": "0"         }     ],     "id": 1 } ```
es	#### Recuperando macros globales  Recupera todas las macros globales.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "usermacro.get",     "params": {         "output": "extend",         "globalmacro": true     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "globalmacroid": "6",             "macro": "{$SNMP_COMMUNITY}",             "value": "public",             "description": "",             "type": "0"         }     ],     "id": 1 } ```

en-us	#### Retrieving global regular expressions.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "regexp.get",     "params": {         "output": ["regexpid", "name"],         "selectExpressions": ["expression", "expression_type"],         "regexpids": [1, 2],         "preservekeys": true     },     "id": 1 } ```  Response:  ```json {   "jsonrpc": "2.0",   "result": {     "1": {       "regexpid": "1",       "name": "File systems for discovery",       "expressions": [         {           "expression": "^(btrfs|ext2|ext3|ext4|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|apfs|refs|ntfs|fat32|zfs)$",           "expression_type": "3"         }       ]     },     "2": {       "regexpid": "2",       "name": "Network interfaces for discovery",       "expressions": [         {           "expression": "^Software Loopback Interface",           "expression_type": "4"         },         {           "expression": "^(In)?[Ll]oop[Bb]ack[0-9._]*$",           "expression_type": "4"         },         {           "expression": "^NULL[0-9.]*$",           "expression_type": "4"         },         {           "expression": "^[Ll]o[0-9.]*$",           "expression_type": "4"         },         {           "expression": "^[Ss]ystem$",           "expression_type": "4"         },         {           "expression": "^Nu[0-9.]*$",           "expression_type": "4"         }       ]     }   },   "id": 1 } ```
es	#### Recuperando expresiones regulares globales.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "regexp.get",     "params": {         "output": ["regexpid", "name"],         "selectExpressions": ["expression", "expression_type"],         "regexpids": [1, 2],         "preservekeys": true     },     "id": 1 } ```  Respuesta:  ```json {   "jsonrpc": "2.0",   "result": {     "1": {       "regexpid": "1",       "name": "File systems for discovery",       "expressions": [         {           "expression": "^(btrfs|ext2|ext3|ext4|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|apfs|refs|ntfs|fat32|zfs)$",           "expression_type": "3"         }       ]     },     "2": {       "regexpid": "2",       "name": "Network interfaces for discovery",       "expressions": [         {           "expression": "^Software Loopback Interface",           "expression_type": "4"         },         {           "expression": "^(In)?[Ll]oop[Bb]ack[0-9._]*$",           "expression_type": "4"         },         {           "expression": "^NULL[0-9.]*$",           "expression_type": "4"         },         {           "expression": "^[Ll]o[0-9.]*$",           "expression_type": "4"         },         {           "expression": "^[Ss]ystem$",           "expression_type": "4"         },         {           "expression": "^Nu[0-9.]*$",           "expression_type": "4"         }       ]     }   },   "id": 1 } ```

en-us	#### Retrieving graph items from a graph  Retrieve all graph items used in a graph with additional information about the item and the host.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "graphitem.get",     "params": {         "output": "extend",         "graphids": "387"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "gitemid": "1242",             "graphid": "387",             "itemid": "22665",             "drawtype": "1",             "sortorder": "1",             "color": "FF5555",             "yaxisside": "0",             "calc_fnc": "2",             "type": "0"         },         {             "gitemid": "1243",             "graphid": "387",             "itemid": "22668",             "drawtype": "1",             "sortorder": "2",             "color": "55FF55",             "yaxisside": "0",             "calc_fnc": "2",             "type": "0"         },         {             "gitemid": "1244",             "graphid": "387",             "itemid": "22671",             "drawtype": "1",             "sortorder": "3",             "color": "009999",             "yaxisside": "0",             "calc_fnc": "2",             "type": "0"         }     ],     "id": 1 } ```
es	#### Recuperar métricas de gráfico de un gráfico  Recuperar todas las métricas de gráfico utilizadas en un gráfico con información adicional sobre la métrica y el equipo.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "graphitem.get",     "params": {         "output": "extend",         "graphids": "387"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "gitemid": "1242",             "graphid": "387",             "itemid": "22665",             "drawtype": "1",             "sortorder": "1",             "color": "FF5555",             "yaxisside": "0",             "calc_fnc": "2",             "type": "0"         },         {             "gitemid": "1243",             "graphid": "387",             "itemid": "22668",             "drawtype": "1",             "sortorder": "2",             "color": "55FF55",             "yaxisside": "0",             "calc_fnc": "2",             "type": "0"         },         {             "gitemid": "1244",             "graphid": "387",             "itemid": "22671",             "drawtype": "1",             "sortorder": "3",             "color": "009999",             "yaxisside": "0",             "calc_fnc": "2",             "type": "0"         }     ],     "id": 1 } ```

en-us	#### Retrieving graph prototypes from a LLD rule  Retrieve all graph prototypes from an LLD rule.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "graphprototype.get",     "params": {         "output": "extend",         "discoveryids": "27426"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "graphid": "1017",             "parent_itemid": "27426",             "name": "Disk space usage {#FSNAME}",             "width": "600",             "height": "340",             "yaxismin": "0.0000",             "yaxismax": "0.0000",             "templateid": "442",             "show_work_period": "0",             "show_triggers": "0",             "graphtype": "2",             "show_legend": "1",             "show_3d": "1",             "percent_left": "0.0000",             "percent_right": "0.0000",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "discover": "0"         }     ],     "id": 1 } ```
es	#### Recuperar prototipos de gráficos de una regla LLD  Recupere todos los prototipos de gráficos de una regla LLD.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "graphprototype.get",     "params": {         "output": "extend",         "discoveryids": "27426"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "graphid": "1017",             "parent_itemid": "27426",             "name": "Disk space usage {#FSNAME}",             "width": "600",             "height": "340",             "yaxismin": "0.0000",             "yaxismax": "0.0000",             "templateid": "442",             "show_work_period": "0",             "show_triggers": "0",             "graphtype": "2",             "show_legend": "1",             "show_3d": "1",             "percent_left": "0.0000",             "percent_right": "0.0000",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "discover": "0"         }     ],     "id": 1 } ```

en-us	#### Retrieving graphs from hosts  Retrieve all graphs from host "10107" and sort them by name.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "graph.get",     "params": {         "output": "extend",         "hostids": 10107,         "sortfield": "name"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "graphid": "612",             "name": "CPU jumps",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "439",             "show_work_period": "1",             "show_triggers": "1",             "graphtype": "0",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "613",             "name": "CPU load",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "433",             "show_work_period": "1",             "show_triggers": "1",             "graphtype": "0",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "1",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "614",             "name": "CPU utilization",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "387",             "show_work_period": "1",             "show_triggers": "0",             "graphtype": "1",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "1",             "ymax_type": "1",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "645",             "name": "Disk space usage /",             "width": "600",             "height": "340",             "yaxismin": "0",             "yaxismax": "0",             "templateid": "0",             "show_work_period": "0",             "show_triggers": "0",             "graphtype": "2",             "show_legend": "1",             "show_3d": "1",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "4"         }     ],     "id": 1 } ```
es	#### Recuperando gráficos de equipos  Recupere todos los gráficos del equipo "10107" y ordénelos por nombre.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "graph.get",     "params": {         "output": "extend",         "hostids": 10107,         "sortfield": "name"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "graphid": "612",             "name": "CPU jumps",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "439",             "show_work_period": "1",             "show_triggers": "1",             "graphtype": "0",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "613",             "name": "CPU load",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "433",             "show_work_period": "1",             "show_triggers": "1",             "graphtype": "0",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "1",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "614",             "name": "CPU utilization",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "387",             "show_work_period": "1",             "show_triggers": "0",             "graphtype": "1",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "1",             "ymax_type": "1",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "645",             "name": "Disk space usage /",             "width": "600",             "height": "340",             "yaxismin": "0",             "yaxismax": "0",             "templateid": "0",             "show_work_period": "0",             "show_triggers": "0",             "graphtype": "2",             "show_legend": "1",             "show_3d": "1",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "4"         }     ],     "id": 1 } ```

en-us	#### Retrieving host groups  Retrieve host groups that the host "Zabbix server" is a member of.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["hostid"],         "selectHostGroups": "extend",         "filter": {             "host": [                 "Zabbix server"             ]         }     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10085",             "hostgroups": [                 {                     "groupid": "2",                     "name": "Linux servers",                     "flags": "0",                     "uuid": "dc579cd7a1a34222933f24f52a68bcd8"                 },                 {                     "groupid": "4",                     "name": "Zabbix servers",                     "flags": "0",                     "uuid": "6f6799aa69e844b4b3918f779f2abf08"                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperando grupos de equipos  Recupere los grupos de equipos de los que el equipo "servidor Zabbix"  es miembro.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["hostid"],         "selectHostGroups": "extend",         "filter": {             "host": [                 "Zabbix server"             ]         }     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10085",             "hostgroups": [                 {                     "groupid": "2",                     "name": "Linux servers",                     "flags": "0",                     "uuid": "dc579cd7a1a34222933f24f52a68bcd8"                 },                 {                     "groupid": "4",                     "name": "Zabbix servers",                     "flags": "0",                     "uuid": "6f6799aa69e844b4b3918f779f2abf08"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving host macros for a host  Retrieve all host macros defined for host "10198".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "usermacro.get",     "params": {         "output": "extend",         "hostids": "10198"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostmacroid": "9",             "hostid": "10198",             "macro": "{$INTERFACE}",             "value": "eth0",             "description": "",             "type": "0",             "automatic": "0"         },         {             "hostmacroid": "11",             "hostid": "10198",             "macro": "{$SNMP_COMMUNITY}",             "value": "public",             "description": "",             "type": "0",             "automatic": "0"         }     ],     "id": 1 } ```
es	#### Recuperar macros de equipo para un equipo  Recupere todas las macros de equipo definidas para el equipo "10198".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "usermacro.get",     "params": {         "output": "extend",         "hostids": "10198"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostmacroid": "9",             "hostid": "10198",             "macro": "{$INTERFACE}",             "value": "eth0",             "description": "",             "type": "0",             "automatic": "0"         },         {             "hostmacroid": "11",             "hostid": "10198",             "macro": "{$SNMP_COMMUNITY}",             "value": "public",             "description": "",             "type": "0",             "automatic": "0"         }     ],     "id": 1 } ```

en-us	#### Retrieving host prototypes from an LLD rule  Retrieve all host prototypes, their group links, group prototypes and tags from an LLD rule.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "hostprototype.get",     "params": {         "output": "extend",         "selectInterfaces": "extend",         "selectGroupLinks": "extend",         "selectGroupPrototypes": "extend",         "selectTags": "extend",         "discoveryids": "23554"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10092",             "host": "{#HV.UUID}",             "name": "{#HV.UUID}",             "status": "0",             "templateid": "0",             "discover": "0",             "custom_interfaces": "1",             "inventory_mode": "-1",             "groupLinks": [                 {                     "group_prototypeid": "4",                     "hostid": "10092",                     "groupid": "7",                     "templateid": "0"                 }             ],             "groupPrototypes": [                 {                     "group_prototypeid": "7",                     "hostid": "10092",                     "name": "{#CLUSTER.NAME}",                     "templateid": "0"                 }             ],             "tags": [                 {                     "tag": "Datacenter",                     "value": "{#DATACENTER.NAME}"                 },                 {                     "tag": "Instance type",                     "value": "{#INSTANCE_TYPE}"                 }             ],             "interfaces": [                 {                     "main": "1",                     "type": "2",                     "useip": "1",                     "ip": "127.0.0.1",                     "dns": "",                     "port": "161",                     "details": {                         "version": "2",                         "bulk": "1",                         "community": "{$SNMP_COMMUNITY}"                     }                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperar prototipos de equipo de una regla LLD  Recuperar todos los prototipos de equipo, sus enlaces de grupo, prototipos de grupo y etiquetas de una regla LLD.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "hostprototype.get",     "params": {         "output": "extend",         "selectInterfaces": "extend",         "selectGroupLinks": "extend",         "selectGroupPrototypes": "extend",         "selectTags": "extend",         "discoveryids": "23554"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10092",             "host": "{#HV.UUID}",             "name": "{#HV.UUID}",             "status": "0",             "templateid": "0",             "discover": "0",             "custom_interfaces": "1",             "inventory_mode": "-1",             "groupLinks": [                 {                     "group_prototypeid": "4",                     "hostid": "10092",                     "groupid": "7",                     "templateid": "0"                 }             ],             "groupPrototypes": [                 {                     "group_prototypeid": "7",                     "hostid": "10092",                     "name": "{#CLUSTER.NAME}",                     "templateid": "0"                 }             ],             "tags": [                 {                     "tag": "Datacenter",                     "value": "{#DATACENTER.NAME}"                 },                 {                     "tag": "Instance type",                     "value": "{#INSTANCE_TYPE}"                 }             ],             "interfaces": [                 {                     "main": "1",                     "type": "2",                     "useip": "1",                     "ip": "127.0.0.1",                     "dns": "",                     "port": "161",                     "details": {                         "version": "2",                         "bulk": "1",                         "community": "{$SNMP_COMMUNITY}"                     }                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving hosts by template  Retrieve hosts that have the "10001" (*Linux by Zabbix agent*) template linked to them.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["hostid", "name"],         "templateids": "10001"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "templateid": "10001",             "hosts": [                 {                     "hostid": "10084",                     "name": "Zabbix server"                 },                 {                     "hostid": "10603",                     "name": "Host 1"                 },                 {                     "hostid": "10604",                     "name": "Host 2"                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperar equipos por plantilla  Recupere equipos que tengan la plantilla "10001" (*Linux by Zabbix agent*) vinculada a ellos.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["hostid", "name"],         "templateids": "10001"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "templateid": "10001",             "hosts": [                 {                     "hostid": "10084",                     "name": "Zabbix server"                 },                 {                     "hostid": "10603",                     "name": "Host 1"                 },                 {                     "hostid": "10604",                     "name": "Host 2"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving hosts by template  Retrieve hosts that have the "10001" (*Linux by Zabbix agent*) template linked to them.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "template.get",     "params": {         "output": "templateid",         "templateids": "10001",         "selectHosts": ["hostid", "name"]     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "templateid": "10001",             "hosts": [                 {                     "hostid": "10084",                     "name": "Zabbix server"                 },                 {                     "hostid": "10603",                     "name": "Host 1"                 },                 {                     "hostid": "10604",                     "name": "Host 2"                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperando equipos por plantilla  Recupere equipos que tengan la plantilla "10001" (*Linux by Zabbix agent*) vinculada a ellos.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "template.get",     "params": {         "output": "templateid",         "templateids": "10001",         "selectHosts": ["hostid", "name"]     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "templateid": "10001",             "hosts": [                 {                     "hostid": "10084",                     "name": "Zabbix server"                 },                 {                     "hostid": "10603",                     "name": "Host 1"                 },                 {                     "hostid": "10604",                     "name": "Host 2"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving hosts  Now you have a valid user authentication token that can be used to access the data in Zabbix. For example, you can use the [host.get](/manual/api/reference/host/get) method to retrieve the IDs, host names and interfaces of all the configured [hosts](/manual/api/reference/host/object):  Request:  ```bash curl --request POST \   --url 'https://example.com/zabbix/api_jsonrpc.php' \   --header 'Authorization: Bearer ${AUTHORIZATION_TOKEN}' \   --header 'Content-Type: application/json-rpc' \   --data @data.json ```  ::: notetip `data.json` is a file that contains a JSON query. Instead of a file, you can pass the query in the `--data` argument. :::  data.json  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": [             "hostid",             "host"         ],         "selectInterfaces": [             "interfaceid",             "ip"         ]     },     "id": 2 } ```  The response object will contain the requested data about the hosts:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10084",             "host": "Zabbix server",             "interfaces": [                 {                     "interfaceid": "1",                     "ip": "127.0.0.1"                 }             ]         }     ],     "id": 2 } ```  ::: notetip For performance reasons it is always recommended to list the object properties you want to retrieve. Thus, you will avoid retrieving everything. :::
es	#### Recuperando equipos  Ahora tiene un token de autenticación de usuario válido que puede usar para acceder a los datos en Zabbix. Por ejemplo, puede utilizar el Método [host.get](/manual/api/reference/host/get) para recuperar los ID, nombres de equipo e interfaces de todos los [equipos](/manual/api/referencia/host/object) configurados:  Solicitud:  ```bash curl --request POST \ --url 'https://example.com/zabbix/api_jsonrpc.php' \ --header 'Authorization: Bearer ${AUTHORIZATION_TOKEN}' \ --header 'Content-Type: application/json-rpc' \ --data @data.json ```  ::: notetip `data.json` es un archivo que contiene una consulta JSON. En lugar de un archivo, puede pasar la consulta en el argumento `--data`. :::  datos.json  ```json {"jsonrpc": "2.0","method": "host.get","params": {"output": ["hostid","host"],"selectInterfaces": ["interfaceid","ip"]},"id": 2 } ```  El objeto de respuesta contendrá los datos solicitados sobre los equipos:  ```json { "jsonrpc": "2.0", "result": [ { "hostid": "10084", "host": "Zabbix server", "interfaces": [ { "interfaceid": "1", "ip": "127.0.0.1" } ] } ], "id": 2 } ```  ::: notetip Por motivos de rendimiento, siempre se recomienda enumerar las propiedades del objeto que desea recuperar. Así, evitará recuperarlo todo. :::

en-us	#### Retrieving item history data  Return 10 latest values received from a numeric(float) item.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "history.get",     "params": {         "output": "extend",         "history": 0,         "itemids": "23296",         "sortfield": "clock",         "sortorder": "DESC",         "limit": 10     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "23296",             "clock": "1351090996",             "value": "0.085",             "ns": "563157632"         },         {             "itemid": "23296",             "clock": "1351090936",             "value": "0.16",             "ns": "549216402"         },         {             "itemid": "23296",             "clock": "1351090876",             "value": "0.18",             "ns": "537418114"         },         {             "itemid": "23296",             "clock": "1351090816",             "value": "0.21",             "ns": "522659528"         },         {             "itemid": "23296",             "clock": "1351090756",             "value": "0.215",             "ns": "507809457"         },         {             "itemid": "23296",             "clock": "1351090696",             "value": "0.255",             "ns": "495509699"         },         {             "itemid": "23296",             "clock": "1351090636",             "value": "0.36",             "ns": "477708209"         },         {             "itemid": "23296",             "clock": "1351090576",             "value": "0.375",             "ns": "463251343"         },         {             "itemid": "23296",             "clock": "1351090516",             "value": "0.315",             "ns": "447947017"         },         {             "itemid": "23296",             "clock": "1351090456",             "value": "0.275",             "ns": "435307141"         }     ],     "id": 1 } ```
es	#### Recuperando datos del historial de artículos  Devuelve los 10 últimos valores recibidos de un elemento numérico (flotante).  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "history.get",     "params": {         "output": "extend",         "history": 0,         "itemids": "23296",         "sortfield": "clock",         "sortorder": "DESC",         "limit": 10     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "23296",             "clock": "1351090996",             "value": "0.085",             "ns": "563157632"         },         {             "itemid": "23296",             "clock": "1351090936",             "value": "0.16",             "ns": "549216402"         },         {             "itemid": "23296",             "clock": "1351090876",             "value": "0.18",             "ns": "537418114"         },         {             "itemid": "23296",             "clock": "1351090816",             "value": "0.21",             "ns": "522659528"         },         {             "itemid": "23296",             "clock": "1351090756",             "value": "0.215",             "ns": "507809457"         },         {             "itemid": "23296",             "clock": "1351090696",             "value": "0.255",             "ns": "495509699"         },         {             "itemid": "23296",             "clock": "1351090636",             "value": "0.36",             "ns": "477708209"         },         {             "itemid": "23296",             "clock": "1351090576",             "value": "0.375",             "ns": "463251343"         },         {             "itemid": "23296",             "clock": "1351090516",             "value": "0.315",             "ns": "447947017"         },         {             "itemid": "23296",             "clock": "1351090456",             "value": "0.275",             "ns": "435307141"         }     ],     "id": 1 } ```

en-us	#### Retrieving item prototypes from an LLD rule  Retrieve all item prototypes for specific LLD rule ID.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "itemprototype.get",     "params": {         "output": "extend",         "discoveryids": "27426"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "23077",             "type": "0",             "snmp_oid": "",             "hostid": "10079",             "name": "Incoming network traffic on en0",             "key_": "net.if.in[en0]",             "delay": "1m",             "history": "1w",             "trends": "365d",             "status": "0",             "value_type": "3",             "trapper_hosts": "",             "units": "bps",             "logtimefmt": "",             "templateid": "0",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "0",             "description": "",             "evaltype": "0",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "output_format": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "discover": "0",             "uuid": "",             "parameters": []         },         {             "itemid": "10010",             "type": "0",             "snmp_oid": "",             "hostid": "10001",             "name": "Processor load (1 min average per core)",             "key_": "system.cpu.load[percpu,avg1]",             "delay": "1m",             "history": "1w",             "trends": "365d",             "status": "0",             "value_type": "0",             "trapper_hosts": "",             "units": "",             "logtimefmt": "",             "templateid": "0",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "0",             "description": "The processor load is calculated as system CPU load divided by number of CPU cores.",             "evaltype": "0",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "output_format": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "discover": "0",             "uuid": "",             "parameters": []         }     ],     "id": 1 } ```
es	#### Recuperar prototipos de métricas de una regla LLD  Recupere todos los prototipos de métricas para una ID de regla LLD específica.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "itemprototype.get",     "params": {         "output": "extend",         "discoveryids": "27426"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "23077",             "type": "0",             "snmp_oid": "",             "hostid": "10079",             "name": "Incoming network traffic on en0",             "key_": "net.if.in[en0]",             "delay": "1m",             "history": "1w",             "trends": "365d",             "status": "0",             "value_type": "3",             "trapper_hosts": "",             "units": "bps",             "logtimefmt": "",             "templateid": "0",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "0",             "description": "",             "evaltype": "0",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "output_format": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "discover": "0",             "uuid": "",             "parameters": []         },         {             "itemid": "10010",             "type": "0",             "snmp_oid": "",             "hostid": "10001",             "name": "Processor load (1 min average per core)",             "key_": "system.cpu.load[percpu,avg1]",             "delay": "1m",             "history": "1w",             "trends": "365d",             "status": "0",             "value_type": "0",             "trapper_hosts": "",             "units": "",             "logtimefmt": "",             "templateid": "0",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "0",             "description": "The processor load is calculated as system CPU load divided by number of CPU cores.",             "evaltype": "0",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "output_format": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "discover": "0",             "uuid": "",             "parameters": []         }     ],     "id": 1 } ```

en-us	#### Retrieving items with preprocessing rules  Retrieve all items and their preprocessing rules for specific host ID.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "item.get",     "params": {         "output": ["itemid", "name", "key_"],         "selectPreprocessing": "extend",         "hostids": "10254"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "itemid": "23865",         "name": "HTTP agent example JSON",         "key_": "json",         "preprocessing": [             {                 "type": "12",                 "params": "$.random",                 "error_handler": "1",                 "error_handler_params": ""             }         ]     },     "id": 1 } ```
es	#### Recuperar métricas con reglas de preprocesamiento  Recupere todas las métricas y sus reglas de preprocesamiento para una ID de equipo específica.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "item.get",     "params": {         "output": ["itemid", "name", "key_"],         "selectPreprocessing": "extend",         "hostids": "10254"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": {         "itemid": "23865",         "name": "HTTP agent example JSON",         "key_": "json",         "preprocessing": [             {                 "type": "12",                 "params": "$.random",                 "error_handler": "1",                 "error_handler_params": ""             }         ]     },     "id": 1 } ```

en-us	#### Retrieving item trend data  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "trend.get",     "params": {         "output": [             "itemid",             "clock",             "num",             "value_min",             "value_avg",             "value_max",         ],         "itemids": [             "23715"         ],         "limit": "1"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "23715",             "clock": "1446199200",             "num": "60",             "value_min": "0.165",             "value_avg": "0.2168",             "value_max": "0.35",         }     ],     "id": 1 } ```
es	#### Recuperando datos de tendencias de artículos  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "trend.get",     "params": {         "output": [             "itemid",             "clock",             "num",             "value_min",             "value_avg",             "value_max",         ],         "itemids": [             "23715"         ],         "limit": "1"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "23715",             "clock": "1446199200",             "num": "60",             "value_min": "0.165",             "value_avg": "0.2168",             "value_max": "0.35",         }     ],     "id": 1 } ```

en-us	#### Retrieving linked templates  Retrieve the IDs and names of templates linked to host "10084".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["hostid"],         "selectParentTemplates": [             "templateid",             "name"         ],         "hostids": "10084"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10084",             "parentTemplates": [                 {                     "name": "Linux",                     "templateid": "10001"                 },                 {                     "name": "Zabbix Server",                     "templateid": "10047"                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperando plantillas vinculadas  Recupere los ID y los nombres de las plantillas vinculadas al equipo "10084".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["hostid"],         "selectParentTemplates": [             "templateid",             "name"         ],         "hostids": "10084"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10084",             "parentTemplates": [                 {                     "name": "Linux",                     "templateid": "10001"                 },                 {                     "name": "Zabbix Server",                     "templateid": "10047"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving maintenances  Retrieve all configured maintenances, and the data about the assigned host groups, defined time periods and problem tags.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "maintenance.get",     "params": {         "output": "extend",         "selectHostGroups": "extend",         "selectTimeperiods": "extend",         "selectTags": "extend"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "maintenanceid": "3",             "name": "Sunday maintenance",             "maintenance_type": "0",             "description": "",             "active_since": "1358844540",             "active_till": "1390466940",             "tags_evaltype": "0",             "hostgroups": [                 {                     "groupid": "4",                     "name": "Zabbix servers",                     "flags": "0",                     "uuid": "6f6799aa69e844b4b3918f779f2abf08"                 }             ],             "timeperiods": [                 {                     "timeperiod_type": "3",                     "every": "1",                     "month": "0",                     "dayofweek": "1",                     "day": "0",                     "start_time": "64800",                     "period": "3600",                     "start_date": "2147483647"                 }             ],             "tags": [                 {                     "tag": "service",                     "operator": "0",                     "value": "mysqld",                 },                 {                     "tag": "error",                     "operator": "2",                     "value": ""                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperando mantenimientos  Recuperar todos los mantenimientos configurados y los datos sobre los grupos de equipos asignados, períodos de tiempo definidos y etiquetas de problemas.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "maintenance.get",     "params": {         "output": "extend",         "selectHostGroups": "extend",         "selectTimeperiods": "extend",         "selectTags": "extend"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "maintenanceid": "3",             "name": "Sunday maintenance",             "maintenance_type": "0",             "description": "",             "active_since": "1358844540",             "active_till": "1390466940",             "tags_evaltype": "0",             "hostgroups": [                 {                     "groupid": "4",                     "name": "Zabbix servers",                     "flags": "0",                     "uuid": "6f6799aa69e844b4b3918f779f2abf08"                 }             ],             "timeperiods": [                 {                     "timeperiod_type": "3",                     "every": "1",                     "month": "0",                     "dayofweek": "1",                     "day": "0",                     "start_time": "64800",                     "period": "3600",                     "start_date": "2147483647"                 }             ],             "tags": [                 {                     "tag": "service",                     "operator": "0",                     "value": "mysqld",                 },                 {                     "tag": "error",                     "operator": "2",                     "value": ""                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving media types  Retrieve all configured media types. The following example returns two media types:   - email media type;  - SMS media type.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "mediatype.get",     "params": {         "output": "extend",         "selectMessageTemplates": "extend"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "mediatypeid": "1",             "type": "0",             "name": "Email",             "smtp_server": "mail.example.com",             "smtp_helo": "example.com",             "smtp_email": "zabbix@example.com",             "exec_path": "",             "gsm_modem": "",             "username": "",             "passwd": "",             "status": "0",             "smtp_port": "25",             "smtp_security": "0",             "smtp_verify_peer": "0",             "smtp_verify_host": "0",             "smtp_authentication": "0",             "maxsessions": "1",             "maxattempts": "3",             "attempt_interval": "10s",             "message_format": "0",             "script": "",             "timeout": "30s",             "process_tags": "0",             "show_event_menu": "1",             "event_menu_url": "",             "event_menu_name": "",             "description": "",             "message_templates": [                 {                     "eventsource": "0",                     "recovery": "0",                     "subject": "Problem: {EVENT.NAME}",                     "message": "Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}"                 },                 {                     "eventsource": "0",                     "recovery": "1",                     "subject": "Resolved: {EVENT.NAME}",                     "message": "Problem has been resolved at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\n\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}"                 },                 {                     "eventsource": "0",                     "recovery": "2",                     "subject": "Updated problem: {EVENT.NAME}",                     "message": "{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, acknowledged: {EVENT.ACK.STATUS}."                 },                 {                     "eventsource": "1",                     "recovery": "0",                     "subject": "Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}",                     "message": "Discovery rule: {DISCOVERY.RULE.NAME}\r\n\r\nDevice IP: {DISCOVERY.DEVICE.IPADDRESS}\r\nDevice DNS: {DISCOVERY.DEVICE.DNS}\r\nDevice status: {DISCOVERY.DEVICE.STATUS}\r\nDevice uptime: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nDevice service name: {DISCOVERY.SERVICE.NAME}\r\nDevice service port: {DISCOVERY.SERVICE.PORT}\r\nDevice service status: {DISCOVERY.SERVICE.STATUS}\r\nDevice service uptime: {DISCOVERY.SERVICE.UPTIME}"                 },                 {                     "eventsource": "2",                     "recovery": "0",                     "subject": "Autoregistration: {HOST.HOST}",                     "message": "Host name: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}"                 }             ],             "parameters": []         },         {             "mediatypeid": "3",             "type": "2",             "name": "SMS",             "smtp_server": "",             "smtp_helo": "",             "smtp_email": "",             "exec_path": "",             "gsm_modem": "/dev/ttyS0",             "username": "",             "passwd": "",             "status": "0",             "smtp_port": "25",             "smtp_security": "0",             "smtp_verify_peer": "0",             "smtp_verify_host": "0",             "smtp_authentication": "0",             "maxsessions": "1",             "maxattempts": "3",             "attempt_interval": "10s",             "message_format": "1",             "script": "",             "timeout": "30s",             "process_tags": "0",             "show_event_menu": "1",             "event_menu_url": "",             "event_menu_name": "",             "description": "",             "message_templates": [                 {                     "eventsource": "0",                     "recovery": "0",                     "subject": "",                     "message": "{EVENT.SEVERITY}: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\n{EVENT.DATE} {EVENT.TIME}"                 },                 {                     "eventsource": "0",                     "recovery": "1",                     "subject": "",                     "message": "RESOLVED: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\n{EVENT.DATE} {EVENT.TIME}"                 },                 {                     "eventsource": "0",                     "recovery": "2",                     "subject": "",                     "message": "{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}"                 },                 {                     "eventsource": "1",                     "recovery": "0",                     "subject": "",                     "message": "Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}"                 },                 {                     "eventsource": "2",                     "recovery": "0",                     "subject": "",                     "message": "Autoregistration: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}"                 }             ],             "parameters": []         }     ],     "id": 1 } ```
es	#### Recuperando tipos de medios  Recupere todos los tipos de medios configurados. El siguiente ejemplo devuelve dos tipos de medios:   - tipo de medio de correo electrónico;  - Tipo de medio SMS.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "método": "mediatype.get",     "parámetros": {         "salida": "extender",         "selectMessageTemplates": "extender"     },     "identificación": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "resultado": [         {             "mediatypeid": "1",             "tipo": "0",             "nombre Correo Electronico",             "smtp_server": "correo.ejemplo.com",             "smtp_helo": "ejemplo.com",             "smtp_email": "zabbix@example.com",             "exec_path": "",             "gsm_modem": "",             "nombre de usuario": "",             "contraseña": "",             "estado": "0",             "smtp_port": "25",             "smtp_security": "0",             "smtp_verify_peer": "0",             "smtp_verify_host": "0",             "smtp_authentication": "0",             "maxsesiones": "1",             "maxintentos": "3",             "attempt_interval": "10s",             "message_format": "0",             "guion": "",             "tiempo de espera": "30s",             "etiquetas_proceso": "0",             "show_event_menu": "1",             "event_menu_url": "",             "event_menu_name": "",             "descripción": "",             "plantillas_mensajes": [                 {                     "fuente de eventos": "0",                     "recuperación": "0",                     "subject": "Problema: {EVENT.NAME}",                     "message": "El problema comenzó a las {EVENT.TIME} el {EVENT.DATE}\r\nNombre del problema: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeveridad: {EVENT.SEVERITY} \r\nDatos operativos: {EVENT.OPDATA}\r\nID del problema original: {EVENT.ID}\r\n{TRIGGER.URL}"                 },                 {                     "fuente de eventos": "0",                     "recuperación": "1",                     "asunto": "Resuelto: {EVENT.NAME}",                     "message": "El problema se resolvió a las {EVENT.RECOVERY.TIME} el {EVENT.RECOVERY.DATE}\r\nNombre del problema: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeveridad : {EVENT.SEVERITY}\r\n\r\nID del problema original: {EVENT.ID}\r\n{TRIGGER.URL}"                 },                 {                     "fuente de eventos": "0",                     "recuperación": "2",                     "subject": "Problema actualizado: {EVENT.NAME}",                     "message": "Problema de {USER.FULLNAME} {EVENT.UPDATE.ACTION} en {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\ r\nEl estado del problema actual es {EVENT.STATUS}, confirmado: {EVENT.ACK.STATUS}."                 },                 {                     "fuente de eventos": "1",                     "recuperación": "0",                     "subject": "Descubrimiento: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}",                     "message": "Regla de descubrimiento: {DISCOVERY.RULE.NAME}\r\n\r\nIP del dispositivo: {DISCOVERY.DEVICE.IPADDRESS}\r\nDNS del dispositivo: {DISCOVERY.DEVICE.DNS}\r\nEstado del dispositivo : {DISCOVERY.DEVICE.STATUS}\r\nTiempo de actividad del dispositivo: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nNombre del servicio del dispositivo: {DISCOVERY.SERVICE.NAME}\r\nPuerto del servicio del dispositivo: {DISCOVERY.SERVICE .PORT}\r\nEstado del servicio del dispositivo: {DISCOVERY.SERVICE.STATUS}\r\nTiempo de actividad del servicio del dispositivo: {DISCOVERY.SERVICE.UPTIME}"                 },                 {                     "fuente de eventos": "2",                     "recuperación": "0",                     "subject": "Registro automático: {HOST.HOST}",                     "message": "Nombre de host: {HOST.HOST}\r\nIP de host: {HOST.IP}\r\nPuerto de agente: {HOST.PORT}"                 }             ],             "parámetros": []         },         {             "mediatypeid": "3",             "tipo 2",             "nombre": "SMS",             "servidor SMTP": "",             "smtp_helo": "",             "smtp_email": "",             "exec_path": "",             "gsm_modem": "/dev/ttyS0",             "nombre de usuario": "",             "contraseña": "",             "estado": "0",             "smtp_port": "25",             "smtp_security": "0",             "smtp_verify_peer": "0",             "smtp_verify_host": "0",             "smtp_authentication": "0",             "maxsesiones": "1",             "maxintentos": "3",             "attempt_interval": "10s",             "message_format": "1",             "guion": "",             "tiempo de espera": "30s",             "etiquetas_proceso": "0",             "show_event_menu": "1",             "event_menu_url": "",             "event_menu_name": "",             "descripción": "",             "plantillas_mensajes": [                 {                     "fuente de eventos": "0",                     "recuperación": "0",                     "sujeto": "",                     "mensaje": "{EVENT.SEVERITY}: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\n{EVENT.DATE} {EVENT.TIME}"                 },                 {                     "fuente de eventos": "0",                     "recuperación": "1",                     "sujeto": "",                     "message": "RESUELTO: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\n{EVENT.DATE} {EVENT.TIME}"                 },                 {                     "fuente de eventos": "0",                     "recuperación": "2",                     "sujeto": "",                     "message": "Problema de {USER.FULLNAME} {EVENT.UPDATE.ACTION} en {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}"                 },                 {                     "fuente de eventos": "1",                     "recuperación": "0",                     "sujeto": "",                     "mensaje": "Descubrimiento: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}"                 },                 {                     "fuente de eventos": "2",                     "recuperación": "0",                     "sujeto": "",                     "message": "Registro automático: {HOST.HOST}\r\nIP del host: {HOST.IP}\r\nPuerto del agente: {HOST.PORT}"                 }             ],             "parámetros": []         }     ],     "identificación": 1 } ```

en-us	#### Retrieving problems acknowledged by specified user  Retrieving problems acknowledged by user with ID=10  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "problem.get",     "params": {         "output": "extend",         "action": 2,         "action_userids": [10],         "selectAcknowledges": ["userid", "action"],         "sortfield": ["eventid"],         "sortorder": "DESC"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "1248566",             "source": "0",             "object": "0",             "objectid": "15142",             "clock": "1472457242",             "ns": "209442442",             "r_eventid": "1245468",             "r_clock": "1472457285",             "r_ns": "125644870",             "correlationid": "0",             "userid": "10",             "name": "Zabbix agent on localhost is unreachable for 5 minutes",             "acknowledged": "1",             "severity": "3",             "cause_eventid": "0",             "opdata": "",             "acknowledges": [                 {                     "userid": "10",                     "action": "2"                 }             ],             "suppressed": "0"         }     ],     "id": 1 } ```
es	#### Recuperar problemas reconocidos por el usuario especificado  Recuperando problemas reconocidos por el usuario con ID=10  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "problem.get",     "params": {         "output": "extend",         "action": 2,         "action_userids": [10],         "selectAcknowledges": ["userid", "action"],         "sortfield": ["eventid"],         "sortorder": "DESC"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "1248566",             "source": "0",             "object": "0",             "objectid": "15142",             "clock": "1472457242",             "ns": "209442442",             "r_eventid": "1245468",             "r_clock": "1472457285",             "r_ns": "125644870",             "correlationid": "0",             "userid": "10",             "name": "Zabbix agent on localhost is unreachable for 5 minutes",             "acknowledged": "1",             "severity": "3",             "cause_eventid": "0",             "opdata": "",             "acknowledges": [                 {                     "userid": "10",                     "action": "2"                 }             ],             "suppressed": "0"         }     ],     "id": 1 } ```

en-us	#### Retrieving report data  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "report.get",     "params": [         "output": "extend",         "selectUsers": "extend",         "selectUserGroups": "extend",         "reportids": ["1", "2"]     ],     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "reportid": "1",             "userid": "1",             "name": "Weekly report",             "dashboardid": "1",             "period": "1",             "cycle": "1",             "start_time": "43200",             "weekdays": "31",             "active_since": "2021-04-01",             "active_till": "2021-08-31",             "subject": "Weekly report",             "message": "Report accompanying text",             "status": "1",             "description": "Report description",             "state": "1",             "lastsent": "1613563219",             "info": "",             "users": [                 {                     "userid": "1",                     "access_userid": "1",                     "exclude": "0"                 },                 {                     "userid": "2",                     "access_userid": "0",                     "exclude": "1"                 }             ],             "user_groups": [                 {                     "usrgrpid": "7",                     "access_userid": "0"                 }             ]         },         {             "reportid": "2",             "userid": "1",             "name": "Monthly report",             "dashboardid": "2",             "period": "2",             "cycle": "2",             "start_time": "0",             "weekdays": "0",             "active_since": "2021-05-01",             "active_till": "",             "subject": "Monthly report",             "message": "Report accompanying text",             "status": "1",             "description": "",             "state": "0",             "lastsent": "0",             "info": "",             "users": [                 {                     "userid": "1",                     "access_userid": "1",                     "exclude": "0"                 }             ],             "user_groups": []         }     ],     "id": 1 } ```
es	#### Recuperando datos del informe  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "report.get",     "params": [         "output": "extend",         "selectUsers": "extend",         "selectUserGroups": "extend",         "reportids": ["1", "2"]     ],     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "reportid": "1",             "userid": "1",             "name": "Weekly report",             "dashboardid": "1",             "period": "1",             "cycle": "1",             "start_time": "43200",             "weekdays": "31",             "active_since": "2021-04-01",             "active_till": "2021-08-31",             "subject": "Weekly report",             "message": "Report accompanying text",             "status": "1",             "description": "Report description",             "state": "1",             "lastsent": "1613563219",             "info": "",             "users": [                 {                     "userid": "1",                     "access_userid": "1",                     "exclude": "0"                 },                 {                     "userid": "2",                     "access_userid": "0",                     "exclude": "1"                 }             ],             "user_groups": [                 {                     "usrgrpid": "7",                     "access_userid": "0"                 }             ]         },         {             "reportid": "2",             "userid": "1",             "name": "Monthly report",             "dashboardid": "2",             "period": "2",             "cycle": "2",             "start_time": "0",             "weekdays": "0",             "active_since": "2021-05-01",             "active_till": "",             "subject": "Monthly report",             "message": "Report accompanying text",             "status": "1",             "description": "",             "state": "0",             "lastsent": "0",             "info": "",             "users": [                 {                     "userid": "1",                     "access_userid": "1",                     "exclude": "0"                 }             ],             "user_groups": []         }     ],     "id": 1 } ```

en-us	#### Retrieving role data  Retrieve "Super admin role" role data and its access rules.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "role.get",     "params": {         "output": "extend",         "selectRules": "extend",         "roleids": "3"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "roleid": "3",             "name": "Super admin role",             "type": "3",             "readonly": "1",             "rules": {                 "ui": [                     {                         "name": "monitoring.dashboard",                         "status": "1"                     },                     {                         "name": "monitoring.problems",                         "status": "1"                     },                     {                         "name": "monitoring.hosts",                         "status": "1"                     },                     {                         "name": "monitoring.latest_data",                         "status": "1"                     },                     {                         "name": "monitoring.maps",                         "status": "1"                     },                     {                         "name": "services.services",                         "status": "1"                     },                     {                         "name": "services.sla_report",                         "status": "1"                     },                     {                         "name": "inventory.overview",                         "status": "1"                     },                     {                         "name": "inventory.hosts",                         "status": "1"                     },                     {                         "name": "reports.availability_report",                         "status": "1"                     },                     {                         "name": "reports.top_triggers",                         "status": "1"                     },                     {                         "name": "monitoring.discovery",                         "status": "1"                     },                     {                         "name": "services.sla",                         "status": "1"                     },                     {                         "name": "reports.scheduled_reports",                         "status": "1"                     },                     {                         "name": "reports.notifications",                         "status": "1"                     },                     {                         "name": "configuration.template_groups",                         "status": "1"                     },                     {                         "name": "configuration.host_groups",                         "status": "1"                     },                     {                         "name": "configuration.templates",                         "status": "1"                     },                     {                         "name": "configuration.hosts",                         "status": "1"                     },                     {                         "name": "configuration.maintenance",                         "status": "1"                     },                     {                         "name": "configuration.discovery",                         "status": "1"                     },                     {                         "name": "configuration.trigger_actions",                         "status": "1"                     },                     {                         "name": "configuration.service_actions",                         "status": "1"                     },                     {                         "name": "configuration.discovery_actions",                         "status": "1"                     },                     {                         "name": "configuration.autoregistration_actions",                         "status": "1"                     },                     {                         "name": "configuration.internal_actions",                         "status": "1"                     },                     {                         "name": "reports.system_info",                         "status": "1"                     },                     {                         "name": "reports.audit",                         "status": "1"                     },                     {                         "name": "reports.action_log",                         "status": "1"                     },                     {                         "name": "configuration.event_correlation",                         "status": "1"                     },                     {                         "name": "administration.media_types",                         "status": "1"                     },                     {                         "name": "administration.scripts",                         "status": "1"                     },                     {                         "name": "administration.user_groups",                         "status": "1"                     },                     {                         "name": "administration.user_roles",                         "status": "1"                     },                     {                         "name": "administration.users",                         "status": "1"                     },                     {                         "name": "administration.api_tokens",                         "status": "1"                     },                     {                         "name": "administration.authentication",                         "status": "1"                     },                     {                         "name": "administration.general",                         "status": "1"                     },                     {                         "name": "administration.audit_log",                         "status": "1"                     },                     {                         "name": "administration.housekeeping",                         "status": "1"                     },                     {                         "name": "administration.proxies",                         "status": "1"                     },                     {                         "name": "administration.macros",                         "status": "1"                     },                     {                         "name": "administration.queue",                         "status": "1"                     }                 ],                 "ui.default_access": "1",                 "services.read.mode": "1",                 "services.read.list": [],                 "services.read.tag": {                     "tag": "",                     "value": ""                 },                 "services.write.mode": "1",                 "services.write.list": [],                 "services.write.tag": {                     "tag": "",                     "value": ""                 },                 "modules": [],                 "modules.default_access": "1",                 "api.access": "1",                 "api.mode": "0",                 "api": [],                 "actions": [                     {                         "name": "edit_dashboards",                         "status": "1"                     },                     {                         "name": "edit_maps",                         "status": "1"                     },                     {                         "name": "acknowledge_problems",                         "status": "1"                     },                     {                         "name": "suppress_problems",                         "status": "1"                     },                     {                         "name": "close_problems",                         "status": "1"                     },                     {                         "name": "change_severity",                         "status": "1"                     },                     {                         "name": "add_problem_comments",                         "status": "1"                     },                     {                         "name": "execute_scripts",                         "status": "1"                     },                     {                         "name": "manage_api_tokens",                         "status": "1"                     },                     {                         "name": "edit_maintenance",                         "status": "1"                     },                     {                         "name": "manage_scheduled_reports",                         "status": "1"                     },                     {                         "name": "manage_sla",                         "status": "1"                     },                     {                         "name": "invoke_execute_now",                         "status": "1"                     }                 ],                 "actions.default_access": "1"             }         }     ],     "id": 1 } ```
es	#### Recuperando datos de rol  Recupere datos de rol de "rol de superadministrador" y sus reglas de acceso.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "role.get",     "params": {         "output": "extend",         "selectRules": "extend",         "roleids": "3"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "roleid": "3",             "name": "Super admin role",             "type": "3",             "readonly": "1",             "rules": {                 "ui": [                     {                         "name": "monitoring.dashboard",                         "status": "1"                     },                     {                         "name": "monitoring.problems",                         "status": "1"                     },                     {                         "name": "monitoring.hosts",                         "status": "1"                     },                     {                         "name": "monitoring.latest_data",                         "status": "1"                     },                     {                         "name": "monitoring.maps",                         "status": "1"                     },                     {                         "name": "services.services",                         "status": "1"                     },                     {                         "name": "services.sla_report",                         "status": "1"                     },                     {                         "name": "inventory.overview",                         "status": "1"                     },                     {                         "name": "inventory.hosts",                         "status": "1"                     },                     {                         "name": "reports.availability_report",                         "status": "1"                     },                     {                         "name": "reports.top_triggers",                         "status": "1"                     },                     {                         "name": "monitoring.discovery",                         "status": "1"                     },                     {                         "name": "services.sla",                         "status": "1"                     },                     {                         "name": "reports.scheduled_reports",                         "status": "1"                     },                     {                         "name": "reports.notifications",                         "status": "1"                     },                     {                         "name": "configuration.template_groups",                         "status": "1"                     },                     {                         "name": "configuration.host_groups",                         "status": "1"                     },                     {                         "name": "configuration.templates",                         "status": "1"                     },                     {                         "name": "configuration.hosts",                         "status": "1"                     },                     {                         "name": "configuration.maintenance",                         "status": "1"                     },                     {                         "name": "configuration.discovery",                         "status": "1"                     },                     {                         "name": "configuration.trigger_actions",                         "status": "1"                     },                     {                         "name": "configuration.service_actions",                         "status": "1"                     },                     {                         "name": "configuration.discovery_actions",                         "status": "1"                     },                     {                         "name": "configuration.autoregistration_actions",                         "status": "1"                     },                     {                         "name": "configuration.internal_actions",                         "status": "1"                     },                     {                         "name": "reports.system_info",                         "status": "1"                     },                     {                         "name": "reports.audit",                         "status": "1"                     },                     {                         "name": "reports.action_log",                         "status": "1"                     },                     {                         "name": "configuration.event_correlation",                         "status": "1"                     },                     {                         "name": "administration.media_types",                         "status": "1"                     },                     {                         "name": "administration.scripts",                         "status": "1"                     },                     {                         "name": "administration.user_groups",                         "status": "1"                     },                     {                         "name": "administration.user_roles",                         "status": "1"                     },                     {                         "name": "administration.users",                         "status": "1"                     },                     {                         "name": "administration.api_tokens",                         "status": "1"                     },                     {                         "name": "administration.authentication",                         "status": "1"                     },                     {                         "name": "administration.general",                         "status": "1"                     },                     {                         "name": "administration.audit_log",                         "status": "1"                     },                     {                         "name": "administration.housekeeping",                         "status": "1"                     },                     {                         "name": "administration.proxies",                         "status": "1"                     },                     {                         "name": "administration.macros",                         "status": "1"                     },                     {                         "name": "administration.queue",                         "status": "1"                     }                 ],                 "ui.default_access": "1",                 "services.read.mode": "1",                 "services.read.list": [],                 "services.read.tag": {                     "tag": "",                     "value": ""                 },                 "services.write.mode": "1",                 "services.write.list": [],                 "services.write.tag": {                     "tag": "",                     "value": ""                 },                 "modules": [],                 "modules.default_access": "1",                 "api.access": "1",                 "api.mode": "0",                 "api": [],                 "actions": [                     {                         "name": "edit_dashboards",                         "status": "1"                     },                     {                         "name": "edit_maps",                         "status": "1"                     },                     {                         "name": "acknowledge_problems",                         "status": "1"                     },                     {                         "name": "suppress_problems",                         "status": "1"                     },                     {                         "name": "close_problems",                         "status": "1"                     },                     {                         "name": "change_severity",                         "status": "1"                     },                     {                         "name": "add_problem_comments",                         "status": "1"                     },                     {                         "name": "execute_scripts",                         "status": "1"                     },                     {                         "name": "manage_api_tokens",                         "status": "1"                     },                     {                         "name": "edit_maintenance",                         "status": "1"                     },                     {                         "name": "manage_scheduled_reports",                         "status": "1"                     },                     {                         "name": "manage_sla",                         "status": "1"                     },                     {                         "name": "invoke_execute_now",                         "status": "1"                     }                 ],                 "actions.default_access": "1"             }         }     ],     "id": 1 } ```

en-us	#### Retrieving template dashboards  Retrieve all template dashboards with widgets for a specified template.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "templatedashboard.get",     "params": {         "output": "extend",         "selectPages": "extend",         "templateids": "10001"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dashboardid": "23",             "name": "Docker overview",             "templateid": "10001",             "display_period": "30",             "auto_start": "1",             "uuid": "6dfcbe0bc5ad400ea9c1c2dd7649282f",             "pages": [                 {                     "dashboard_pageid": "1",                     "name": "",                     "display_period": "0",                     "widgets": [                         {                             "widgetid": "220",                             "type": "graph",                             "name": "",                             "x": "0",                             "y": "0",                             "width": "36",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "6",                                     "name": "graphid",                                     "value": "1125"                                 }                             ]                         },                         {                             "widgetid": "221",                             "type": "graph",                             "name": "",                             "x": "12",                             "y": "0",                             "width": "36",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "6",                                     "name": "graphid",                                     "value": "1129"                                 }                             ]                         },                         {                             "widgetid": "222",                             "type": "graph",                             "name": "",                             "x": "0",                             "y": "5",                             "width": "36",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "6",                                     "name": "graphid",                                     "value": "1128"                                 }                             ]                         },                         {                             "widgetid": "223",                             "type": "graph",                             "name": "",                             "x": "12",                             "y": "5",                             "width": "36",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "6",                                     "name": "graphid",                                     "value": "1126"                                 }                             ]                         },                         {                             "widgetid": "224",                             "type": "graph",                             "name": "",                             "x": "0",                             "y": "10",                             "width": "36",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "6",                                     "name": "graphid",                                     "value": "1127"                                 }                             ]                         }                     ]                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperar plantillas de dashboards  Recupere todas las plantillas de dashboards con widgets para una plantilla específica.  [Pedido](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "templatedashboard.get",     "params": {         "output": "extend",         "selectPages": "extend",         "templateids": "10001"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dashboardid": "23",             "name": "Docker overview",             "templateid": "10001",             "display_period": "30",             "auto_start": "1",             "uuid": "6dfcbe0bc5ad400ea9c1c2dd7649282f",             "pages": [                 {                     "dashboard_pageid": "1",                     "name": "",                     "display_period": "0",                     "widgets": [                         {                             "widgetid": "220",                             "type": "graph",                             "name": "",                             "x": "0",                             "y": "0",                             "width": "36",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "6",                                     "name": "graphid",                                     "value": "1125"                                 }                             ]                         },                         {                             "widgetid": "221",                             "type": "graph",                             "name": "",                             "x": "12",                             "y": "0",                             "width": "36",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "6",                                     "name": "graphid",                                     "value": "1129"                                 }                             ]                         },                         {                             "widgetid": "222",                             "type": "graph",                             "name": "",                             "x": "0",                             "y": "5",                             "width": "36",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "6",                                     "name": "graphid",                                     "value": "1128"                                 }                             ]                         },                         {                             "widgetid": "223",                             "type": "graph",                             "name": "",                             "x": "12",                             "y": "5",                             "width": "36",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "6",                                     "name": "graphid",                                     "value": "1126"                                 }                             ]                         },                         {                             "widgetid": "224",                             "type": "graph",                             "name": "",                             "x": "0",                             "y": "10",                             "width": "36",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "6",                                     "name": "graphid",                                     "value": "1127"                                 }                             ]                         }                     ]                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving template groups  Retrieve template groups that the template "Linux by Zabbix agent" is a member of.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "template.get",     "params": {         "output": ["hostid"],         "selectTemplateGroups": "extend",         "filter": {             "host": [                 "Linux by Zabbix agent"             ]         }     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "templateid": "10001",             "templategroups": [                 {                     "groupid": "10",                     "name": "Templates/Operating systems",                     "uuid": "846977d1dfed4968bc5f8bdb363285bc"                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperando grupos de plantillas  Recupere los grupos de plantillas a los que pertenece la plantilla "Linux by Zabbix agent".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "template.get",     "params": {         "output": ["hostid"],         "selectTemplateGroups": "extend",         "filter": {             "host": [                 "Linux by Zabbix agent"             ]         }     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "templateid": "10001",             "templategroups": [                 {                     "groupid": "10",                     "name": "Templates/Operating systems",                     "uuid": "846977d1dfed4968bc5f8bdb363285bc"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving templates by name  Retrieve all data about two templates named "Linux" and "Windows".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "template.get",     "params": {         "output": "extend",         "filter": {             "host": [                 "Linux",                 "Windows"             ]         }     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "proxyid": "0",             "host": "Linux",             "status": "3",             "disable_until": "0",             "error": "",             "available": "0",             "errors_from": "0",             "lastaccess": "0",             "ipmi_authtype": "0",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "ipmi_disable_until": "0",             "ipmi_available": "0",             "snmp_disable_until": "0",             "snmp_available": "0",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "ipmi_errors_from": "0",             "snmp_errors_from": "0",             "ipmi_error": "",             "snmp_error": "",             "jmx_disable_until": "0",             "jmx_available": "0",             "jmx_errors_from": "0",             "jmx_error": "",             "name": "Linux",             "flags": "0",             "templateid": "10001",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "tls_psk_identity": "",             "tls_psk": "",             "uuid": "282ffe33afc74cccaf1524d9aa9dc502"         },         {             "proxyid": "0",             "host": "Windows",             "status": "3",             "disable_until": "0",             "error": "",             "available": "0",             "errors_from": "0",             "lastaccess": "0",             "ipmi_authtype": "0",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "ipmi_disable_until": "0",             "ipmi_available": "0",             "snmp_disable_until": "0",             "snmp_available": "0",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "ipmi_errors_from": "0",             "snmp_errors_from": "0",             "ipmi_error": "",             "snmp_error": "",             "jmx_disable_until": "0",             "jmx_available": "0",             "jmx_errors_from": "0",             "jmx_error": "",             "name": "Windows",             "flags": "0",             "templateid": "10081",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "tls_psk_identity": "",             "tls_psk": "",             "uuid": "522d17e1834049be879287b7c0518e5d"         }     ],     "id": 1 } ```
es	#### Recuperar plantillas por nombre  Recupere todos los datos sobre dos plantillas denominadas "Linux" y "Windows".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "template.get",     "params": {         "output": "extend",         "filter": {             "host": [                 "Linux",                 "Windows"             ]         }     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "proxyid": "0",             "host": "Linux",             "status": "3",             "disable_until": "0",             "error": "",             "available": "0",             "errors_from": "0",             "lastaccess": "0",             "ipmi_authtype": "0",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "ipmi_disable_until": "0",             "ipmi_available": "0",             "snmp_disable_until": "0",             "snmp_available": "0",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "ipmi_errors_from": "0",             "snmp_errors_from": "0",             "ipmi_error": "",             "snmp_error": "",             "jmx_disable_until": "0",             "jmx_available": "0",             "jmx_errors_from": "0",             "jmx_error": "",             "name": "Linux",             "flags": "0",             "templateid": "10001",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "tls_psk_identity": "",             "tls_psk": "",             "uuid": "282ffe33afc74cccaf1524d9aa9dc502"         },         {             "proxyid": "0",             "host": "Windows",             "status": "3",             "disable_until": "0",             "error": "",             "available": "0",             "errors_from": "0",             "lastaccess": "0",             "ipmi_authtype": "0",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "ipmi_disable_until": "0",             "ipmi_available": "0",             "snmp_disable_until": "0",             "snmp_available": "0",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "ipmi_errors_from": "0",             "snmp_errors_from": "0",             "ipmi_error": "",             "snmp_error": "",             "jmx_disable_until": "0",             "jmx_available": "0",             "jmx_errors_from": "0",             "jmx_error": "",             "name": "Windows",             "flags": "0",             "templateid": "10081",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "tls_psk_identity": "",             "tls_psk": "",             "uuid": "522d17e1834049be879287b7c0518e5d"         }     ],     "id": 1 } ```

en-us	#### Retrieving the version of the API  Retrieve the version of the Zabbix API.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "apiinfo.version",     "params": [],     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": "7.0.0",     "id": 1 } ```
es	#### Recuperar la versión de la API  Recupera la versión de la API de Zabbix.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "apiinfo.version",     "params": [],     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": "7.0.0",     "id": 1 } ```

en-us	#### Retrieving top triggers with problem event count  Retrieve the top 5 triggers that have severities "Warning", "Average", "High", or "Disaster", together with the number of problem events within a specified time period.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "event.get",     "params": {         "countOutput": true,         "groupBy": "objectid",         "source": 0,         "object": 0,         "value": 1,         "time_from": 1672531200,         "time_till": 1677628800,         "trigger_severities": [2, 3, 4, 5],         "sortfield": ["rowscount"],         "sortorder": "DESC",         "limit": 5     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "objectid": "232124",             "rowscount": "27"         },         {             "objectid": "29055",             "rowscount": "23"         },         {             "objectid": "253731",             "rowscount": "18"         },         {             "objectid": "254062",             "rowscount": "11"         },         {             "objectid": "23216",             "rowscount": "7"         }     ],     "id": 1 } ```
es	#### Recuperar iniciadores principales con recuento de eventos problemáticos  Recupere los 5 iniciadores principales que tienen gravedades "Advertencia", "Promedio", "Alta" o "Desastre", junto con el número de eventos problemáticos dentro de un período de tiempo específico.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "event.get",     "params": {         "countOutput": true,         "groupBy": "objectid",         "source": 0,         "object": 0,         "value": 1,         "time_from": 1672531200,         "time_till": 1677628800,         "trigger_severities": [2, 3, 4, 5],         "sortfield": ["rowscount"],         "sortorder": "DESC",         "limit": 5     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "objectid": "232124",             "rowscount": "27"         },         {             "objectid": "29055",             "rowscount": "23"         },         {             "objectid": "253731",             "rowscount": "18"         },         {             "objectid": "254062",             "rowscount": "11"         },         {             "objectid": "23216",             "rowscount": "7"         }     ],     "id": 1 } ```

en-us	#### Retrieving trigger events  Retrieve the latest events from trigger "13926".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "event.get",     "params": {         "output": "extend",         "selectAcknowledges": "extend",         "selectSuppressionData": "extend",         "selectTags": "extend",         "objectids": "13926",         "sortfield": ["clock", "eventid"],         "sortorder": "DESC"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "9695",             "source": "0",             "object": "0",             "objectid": "13926",             "clock": "1347970410",             "value": "1",             "acknowledged": "1",             "ns": "413316245",             "name": "MySQL is down",             "severity": "5",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "cause_eventid": "0",             "acknowledges": [                 {                     "acknowledgeid": "1",                     "userid": "1",                     "clock": "1350640590",                     "message": "Problem resolved.\n\r----[BULK ACKNOWLEDGE]----",                     "action": "6",                     "old_severity": "0",                     "new_severity": "0",                     "suppress_until": "1472511600",                     "taskid": "0",                     "username": "Admin",                     "name": "Zabbix",                     "surname": "Administrator"                 }             ],             "opdata": "",             "suppression_data": [                 {                     "maintenanceid": "15",                     "suppress_until": "1472511600",                     "userid": "0"                 }             ],             "suppressed": "1",             "tags": [                 {                     "tag": "service",                     "value": "mysqld"                 },                 {                     "tag": "error",                     "value": ""                 }             ],             "urls": []         },         {             "eventid": "9671",             "source": "0",             "object": "0",             "objectid": "13926",             "clock": "1347970347",             "value": "0",             "acknowledged": "0",             "ns": "0",             "name": "Unavailable by ICMP ping",             "severity": "4",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "cause_eventid": "0",             "acknowledges": [],             "opdata": "",             "suppression_data": [],             "suppressed": "0",             "tags": [],             "urls": []         }     ],     "id": 1 } ```
es	#### Recuperando eventos de iniciador  Recupere los últimos eventos del iniciador "13926".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "event.get",     "params": {         "output": "extend",         "selectAcknowledges": "extend",         "selectSuppressionData": "extend",         "selectTags": "extend",         "objectids": "13926",         "sortfield": ["clock", "eventid"],         "sortorder": "DESC"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "9695",             "source": "0",             "object": "0",             "objectid": "13926",             "clock": "1347970410",             "value": "1",             "acknowledged": "1",             "ns": "413316245",             "name": "MySQL is down",             "severity": "5",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "cause_eventid": "0",             "acknowledges": [                 {                     "acknowledgeid": "1",                     "userid": "1",                     "clock": "1350640590",                     "message": "Problem resolved.\n\r----[BULK ACKNOWLEDGE]----",                     "action": "6",                     "old_severity": "0",                     "new_severity": "0",                     "suppress_until": "1472511600",                     "taskid": "0",                     "username": "Admin",                     "name": "Zabbix",                     "surname": "Administrator"                 }             ],             "opdata": "",             "suppression_data": [                 {                     "maintenanceid": "15",                     "suppress_until": "1472511600",                     "userid": "0"                 }             ],             "suppressed": "1",             "tags": [                 {                     "tag": "service",                     "value": "mysqld"                 },                 {                     "tag": "error",                     "value": ""                 }             ],             "urls": []         },         {             "eventid": "9671",             "source": "0",             "object": "0",             "objectid": "13926",             "clock": "1347970347",             "value": "0",             "acknowledged": "0",             "ns": "0",             "name": "Unavailable by ICMP ping",             "severity": "4",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "cause_eventid": "0",             "acknowledges": [],             "opdata": "",             "suppression_data": [],             "suppressed": "0",             "tags": [],             "urls": []         }     ],     "id": 1 } ```

en-us	#### Retrieving trigger problem events  Retrieve recent events from trigger "15112."  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "problem.get",     "params": {         "output": "extend",         "selectAcknowledges": "extend",         "selectTags": "extend",         "selectSuppressionData": "extend",         "objectids": "15112",         "recent": "true",         "sortfield": ["eventid"],         "sortorder": "DESC"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "1245463",             "source": "0",             "object": "0",             "objectid": "15112",             "clock": "1472457242",             "ns": "209442442",             "r_eventid": "1245468",             "r_clock": "1472457285",             "r_ns": "125644870",             "correlationid": "0",             "userid": "1",             "name": "Zabbix agent on localhost is unreachable for 5 minutes",             "acknowledged": "1",             "severity": "3",             "cause_eventid": "0",             "opdata": "",             "acknowledges": [                 {                     "acknowledgeid": "14443",                     "userid": "1",                     "eventid": "1245463",                     "clock": "1472457281",                     "message": "problem solved",                     "action": "6",                     "old_severity": "0",                     "new_severity": "0",                     "suppress_until": "1472511600",                     "taskid": "0"                 }             ],             "suppression_data": [                 {                     "maintenanceid": "15",                     "suppress_until": "1472511600",                     "userid": "0"                 }             ],             "suppressed": "1",             "tags": [                 {                     "tag": "test tag",                     "value": "test value"                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperando eventos de problemas de iniciador  Recupera eventos recientes del iniciador "15112".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "problem.get",     "params": {         "output": "extend",         "selectAcknowledges": "extend",         "selectTags": "extend",         "selectSuppressionData": "extend",         "objectids": "15112",         "recent": "true",         "sortfield": ["eventid"],         "sortorder": "DESC"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "1245463",             "source": "0",             "object": "0",             "objectid": "15112",             "clock": "1472457242",             "ns": "209442442",             "r_eventid": "1245468",             "r_clock": "1472457285",             "r_ns": "125644870",             "correlationid": "0",             "userid": "1",             "name": "Zabbix agent on localhost is unreachable for 5 minutes",             "acknowledged": "1",             "severity": "3",             "cause_eventid": "0",             "opdata": "",             "acknowledges": [                 {                     "acknowledgeid": "14443",                     "userid": "1",                     "eventid": "1245463",                     "clock": "1472457281",                     "message": "problem solved",                     "action": "6",                     "old_severity": "0",                     "new_severity": "0",                     "suppress_until": "1472511600",                     "taskid": "0"                 }             ],             "suppression_data": [                 {                     "maintenanceid": "15",                     "suppress_until": "1472511600",                     "userid": "0"                 }             ],             "suppressed": "1",             "tags": [                 {                     "tag": "test tag",                     "value": "test value"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving triggers in problem state  Retrieve the ID, name and severity of all triggers in problem state and sort them by severity in descending order.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "trigger.get",     "params": {         "output": [             "triggerid",             "description",             "priority"         ],         "filter": {             "value": 1         },         "sortfield": "priority",         "sortorder": "DESC"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "triggerid": "13907",             "description": "Zabbix self-monitoring processes < 100% busy",             "priority": "4"         },         {             "triggerid": "13824",             "description": "Zabbix discoverer processes more than 75% busy",             "priority": "3"         }     ],     "id": 1 } ```
es	#### Recuperar iniciadores en estado de problema  Recupere el ID, el nombre y la gravedad de todos los iniciadores en estado de problema y ordénelos por gravedad en orden descendente.  [Solicitud](/manual/api#performing-requests):  ```json { "jsonrpc": "2.0", "method": "trigger.get", "params": { "output": [ "triggerid", "description", "priority" ], "filter": { "value": 1 }, "sortfield": "priority", "sortorder": "DESC" }, "id": 1 } ```  Respuesta:  ```json { "jsonrpc": "2.0", "result": [ { "triggerid": "13907", "description": "Zabbix self-monitoring processes < 100% busy", "priority": "4" }, { "triggerid": "13824", "description": "Zabbix discoverer processes more than 75% busy", "priority": "3" } ], "id": 1 } ```

en-us	#### Retrieving user data  Retrieve data of a user with ID "12".  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "user.get",     "params": {         "output": ["userid", "username"],         "selectRole": "extend",         "userids": "12"     },     "id": 1 } ```  Response:  ```json {   "jsonrpc": "2.0",   "result": [       {           "userid": "12",           "username": "John",           "role": {               "roleid": "5",               "name": "Operator",               "type": "1",               "readonly": "0"           }       }   ],   "id": 1 } ```
es	#### Recuperando datos de usuario  Recuperar datos de un usuario con ID "12".  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "user.get",     "params": {         "output": ["userid", "username"],         "selectRole": "extend",         "userids": "12"     },     "id": 1 } ```  Respuesta:  ```json {   "jsonrpc": "2.0",   "result": [       {           "userid": "12",           "username": "John",           "role": {               "roleid": "5",               "name": "Operator",               "type": "1",               "readonly": "0"           }       }   ],   "id": 1 } ```

en-us	##### Retrieving user directories  Retrieve all user directories with additional properties that display media type mappings and provisioning groups mappings associated with each user directory.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "userdirectory.get",     "params": {         "output": "extend",         "selectProvisionMedia": "extend",         "selectProvisionGroups": "extend"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [        {             "userdirectoryid": "1",             "idp_type": "2",             "name": "",             "provision_status": "1",             "description": "",             "group_name": "groups",             "user_username": "",             "user_lastname": "",             "idp_entityid": "http://example.com/simplesaml/saml2/idp/metadata.php",             "sso_url": "http://example.com/simplesaml/saml2/idp/SSOService.php",             "slo_url": "",             "username_attribute": "uid",             "sp_entityid": "zabbix",             "nameid_format": "",             "sign_messages": "0",             "sign_assertions": "0",             "sign_authn_requests": "0",             "sign_logout_requests": "0",             "sign_logout_responses": "0",             "encrypt_nameid": "0",             "encrypt_assertions": "0",             "scim_status": "1",             "provision_media": [                 {                     "userdirectory_mediaid": "1",                     "name": "example.com",                     "mediatypeid": "1",                     "attribute": "user@example.com",                     "active": "0",                     "severity": "63",                     "period": "1-7,00:00-24:00"                 }             ],             "provision_groups": [                 {                     "name": "*",                     "roleid": "1",                     "user_groups": [                         {                             "usrgrpid": "13"                         }                     ]                 }             ]         },         {             "userdirectoryid": "2",             "idp_type": "1",             "name": "AD server",             "provision_status": "1",             "description": "",             "host": "host.example.com",             "port": "389",             "base_dn": "DC=zbx,DC=local",             "search_attribute": "sAMAccountName",             "bind_dn": "CN=Admin,OU=Users,OU=Zabbix,DC=zbx,DC=local",             "start_tls": "0",             "search_filter": "",             "group_basedn": "OU=Zabbix,DC=zbx,DC=local",             "group_name": "CN",             "group_member": "member",             "group_filter": "(%{groupattr}=CN=%{ref},OU=Users,OU=Zabbix,DC=zbx,DC=local)",             "group_membership": "",             "user_username": "givenName",             "user_lastname": "sn",             "user_ref_attr": "CN",             "provision_media": [                 {                     "userdirectory_mediaid": "2",                     "name": "example.com",                     "mediatypeid": "1",                     "attribute": "user@example.com",                     "active": "0",                     "severity": "63",                     "period": "1-7,00:00-24:00"                 }             ],             "provision_groups": [                 {                     "name": "*",                     "roleid": "4",                     "user_groups": [                         {                             "usrgrpid": "8"                         }                     ]                 },                 {                     "name": "Zabbix administrators",                     "roleid": "2",                     "user_groups": [                         {                             "usrgrpid": "7"                         },                         {                             "usrgrpid": "8"                         }                     ]                 }             ]         },         {             "userdirectoryid": "3",             "idp_type": "1",             "name": "LDAP API server #1",             "provision_status": "0",             "description": "",             "host": "ldap://local.ldap",             "port": "389",             "base_dn": "ou=Users,dc=example,dc=org",             "search_attribute": "uid",             "bind_dn": "cn=ldap_search,dc=example,dc=org",             "start_tls": "1",             "search_filter": "",             "group_basedn": "",             "group_name": "",             "group_member": "",             "group_filter": "",             "group_membership": "",             "user_username": "",             "user_lastname": "",             "user_ref_attr": "",             "provision_media": [],             "provision_groups": []         }     ],     "id": 1 } ```
es	##### Recuperar directorios de usuarios  Recupere todos los directorios de usuarios con propiedades adicionales que muestran asignaciones de tipos de medios y asignaciones de grupos de aprovisionamiento asociadas con cada directorio de usuarios.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "método": "directoriodeusuario.get",     "parámetros": {         "salida": "extender",         "selectProvisionMedia": "extender",         "selectProvisionGroups": "extender"     },     "identificación": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "resultado": [        {             "userdirectoryid": "1",             "idp_type": "2",             "nombre": "",             "provision_status": "1",             "descripción": "",             "group_name": "grupos",             "user_username": "",             "usuario_apellido": "",             "idp_entityid": "http://example.com/simplesaml/saml2/idp/metadata.php",             "sso_url": "http://example.com/simplesaml/saml2/idp/SSOService.php",             "slo_url": "",             "username_attribute": "uid",             "sp_entityid": "zabbix",             "nameid_format": "",             "sign_messages": "0",             "sign_assertions": "0",             "sign_authn_requests": "0",             "sign_logout_requests": "0",             "sign_logout_responses": "0",             "encrypt_nameid": "0",             "encrypt_assertions": "0",             "scim_status": "1",             "provision_media": [                 {                     "userdirectory_mediaid": "1",                     "nombre": "ejemplo.com",                     "mediatypeid": "1",                     "atributo": "usuario@ejemplo.com",                     "activo": "0",                     "gravedad": "63",                     "período": "1-7,00:00-24:00"                 }             ],             "grupos_aprovisionamiento": [                 {                     "nombre": "*",                     "roleid": "1",                     "Grupos de Usuarios": [                         {                             "usrgrpid": "13"                         }                     ]                 }             ]         },         {             "userdirectoryid": "2",             "idp_type": "1",             "nombre": "servidor AD",             "provision_status": "1",             "descripción": "",             "host": "host.ejemplo.com",             "puerto": "389",             "base_dn": "DC=zbx,DC=local",             "search_attribute": "sAMAccountName",             "bind_dn": "CN=Admin,OU=Usuarios,OU=Zabbix,DC=zbx,DC=local",             "start_tls": "0",             "Filtro de búsqueda": "",             "group_basedn": "OU=Zabbix,DC=zbx,DC=local",             "nombre_grupo": "CN",             "group_member": "miembro",             "group_filter": "(%{groupattr}=CN=%{ref},OU=Usuarios,OU=Zabbix,DC=zbx,DC=local)",             "membresía de grupo": "",             "user_username": "nombre dado",             "user_lastname": "sn",             "user_ref_attr": "CN",             "provision_media": [                 {                     "userdirectory_mediaid": "2",                     "nombre": "ejemplo.com",                     "mediatypeid": "1",                     "atributo": "usuario@ejemplo.com",                     "activo": "0",                     "gravedad": "63",                     "período": "1-7,00:00-24:00"                 }             ],             "grupos_aprovisionamiento": [                 {                     "nombre": "*",                     "roleid": "4",                     "Grupos de Usuarios": [                         {                             "usrgrpid": "8"                         }                     ]                 },                 {                     "nombre": "Administradores de Zabbix",                     "roleid": "2",                     "Grupos de Usuarios": [                         {                             "usrgrpid": "7"                         },                         {                             "usrgrpid": "8"                         }                     ]                 }             ]         },         {             "userdirectoryid": "3",             "idp_type": "1",             "nombre": "Servidor API LDAP nº 1",             "provision_status": "0",             "descripción": "",             "host": "ldap://local.ldap",             "puerto": "389",             "base_dn": "ou=Usuarios,dc=ejemplo,dc=org",             "search_attribute": "uid",             "bind_dn": "cn=ldap_search,dc=ejemplo,dc=org",             "start_tls": "1",             "Filtro de búsqueda": "",             "group_basedn": "",             "Nombre del grupo": "",             "miembro del grupo": "",             "filtro_grupo": "",             "membresía de grupo": "",             "user_username": "",             "usuario_apellido": "",             "user_ref_attr": "",             "provision_media": [],             "grupos_aprovisionamiento": []         }     ],     "identificación": 1 } ```

en-us	#### Retrieving user macro values  To use HashiCorp Vault for storing *Vault secret* user macro values, make sure that:  - Zabbix server is [configured](/manual/config/secrets/hashicorp#server_and_proxies) to work with HashiCorp Vault; - the *Vault provider* parameter in [*Administration → General → Other*](/manual/web_interface/frontend_sections/administration/general#other-parameters) is set to "HashiCorp Vault" (default).  ![](../../../../assets/en/manual/config/provider_hashicorp.png)  :::noteclassic Only Zabbix server requires access to *Vault secret* macro values from the vault. Other Zabbix components (proxy, frontend) do not need such access. :::  The macro value should contain a reference path (as `path:key`, for example, `secret/zabbix:password`). The authentication token specified during Zabbix server configuration (by the `VaultToken` parameter) must provide read-only access to this path.  See [*Vault secret macros*](/manual/config/macros/secret_macros#vault_secret) for detailed information on macro value processing by Zabbix.
es	#### Recuperando valores de macro de usuario  Para utilizar HashiCorp Vault para almacenar valores de macro de usuario *Vault secret*, asegúrese de que:  - El servidor Zabbix está [configurado](/manual/config/secrets/hashicorp#server_and_proxies) para funcionar con HashiCorp Vault; - el parámetro *Proveedor de bóveda* en [*Administración → General → Otros*](/manual/web_interface/frontend_sections/administration/general#other-parameters) está configurado en "HashiCorp Vault" (predeterminado).  ![](../../../../assets/en/manual/config/provider_hashicorp.png)  :::notaclásica Solo el servidor Zabbix requiere acceso a los valores de macro *Vault secret* desde la bóveda. Otros componentes de Zabbix (proxy, frontend) no necesitan dicho acceso. :::  El valor de la macro debe contener una ruta de referencia (como `ruta:clave`, por ejemplo, `secret/zabbix:contraseña`). El token de autenticación especificado durante la configuración del servidor Zabbix (mediante el parámetro `VaultToken`) debe proporcionar acceso de solo lectura a esta ruta.  Consulte [*Macros secretas de Vault*](/manual/config/macros/secret_macros#vault_secret) para obtener información detallada sobre el procesamiento de valores de macro por parte de Zabbix.

en-us	#### Retrieving users  Retrieve all of the configured users.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "user.get",     "params": {         "output": "extend"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "userid": "1",             "username": "Admin",             "name": "Zabbix",             "surname": "Administrator",             "url": "",             "autologin": "1",             "autologout": "0",             "lang": "en_GB",             "refresh": "0s",             "theme": "default",             "attempt_failed": "0",             "attempt_ip": "",             "attempt_clock": "0",             "rows_per_page": "50",             "timezone": "default",             "roleid": "3",             "userdirectoryid": "0",             "ts_provisioned": "0"         },         {             "userid": "2",             "username": "guest",             "name": "",             "surname": "",             "url": "",             "autologin": "0",             "autologout": "15m",             "lang": "default",             "refresh": "30s",             "theme": "default",             "attempt_failed": "0",             "attempt_ip": "",             "attempt_clock": "0",             "rows_per_page": "50",             "timezone": "default",             "roleid": "4",             "userdirectoryid": "0",             "ts_provisioned": "0"         },         {             "userid": "3",             "username": "user",             "name": "Zabbix",             "surname": "User",             "url": "",             "autologin": "0",             "autologout": "0",             "lang": "ru_RU",             "refresh": "15s",             "theme": "dark-theme",             "attempt_failed": "0",             "attempt_ip": "",             "attempt_clock": "0",             "rows_per_page": "100",             "timezone": "default",             "roleid": "1",             "userdirectoryid": "0",             "ts_provisioned": "0"         }     ],     "id": 1 } ```
es	#### Recuperando usuarios  Recupera todos los usuarios configurados.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "user.get",     "params": {         "output": "extend"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "userid": "1",             "username": "Admin",             "name": "Zabbix",             "surname": "Administrator",             "url": "",             "autologin": "1",             "autologout": "0",             "lang": "en_GB",             "refresh": "0s",             "theme": "default",             "attempt_failed": "0",             "attempt_ip": "",             "attempt_clock": "0",             "rows_per_page": "50",             "timezone": "default",             "roleid": "3",             "userdirectoryid": "0",             "ts_provisioned": "0"         },         {             "userid": "2",             "username": "guest",             "name": "",             "surname": "",             "url": "",             "autologin": "0",             "autologout": "15m",             "lang": "default",             "refresh": "30s",             "theme": "default",             "attempt_failed": "0",             "attempt_ip": "",             "attempt_clock": "0",             "rows_per_page": "50",             "timezone": "default",             "roleid": "4",             "userdirectoryid": "0",             "ts_provisioned": "0"         },         {             "userid": "3",             "username": "user",             "name": "Zabbix",             "surname": "User",             "url": "",             "autologin": "0",             "autologout": "0",             "lang": "ru_RU",             "refresh": "15s",             "theme": "dark-theme",             "attempt_failed": "0",             "attempt_ip": "",             "attempt_clock": "0",             "rows_per_page": "100",             "timezone": "default",             "roleid": "1",             "userdirectoryid": "0",             "ts_provisioned": "0"         }     ],     "id": 1 } ```

en-us	#### Retrieving value maps  Retrieve all configured value maps.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "valuemap.get",     "params": {         "output": "extend"     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "valuemapid": "4",             "name": "APC Battery Replacement Status"         },         {             "valuemapid": "5",             "name": "APC Battery Status"         },         {             "valuemapid": "7",             "name": "Dell Open Manage System Status"         }     ],     "id": 1 } ```  Retrieve one value map with its mappings.  [Request](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "valuemap.get",     "params": {         "output": "extend",         "selectMappings": "extend",         "valuemapids": ["4"]     },     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "valuemapid": "4",             "name": "APC Battery Replacement Status",             "mappings": [                 {                     "type": "0",                     "value": "1",                     "newvalue": "unknown"                 },                 {                     "type": "0",                     "value": "2",                     "newvalue": "notInstalled"                 },                 {                     "type": "0",                     "value": "3",                     "newvalue": "ok"                 },                 {                     "type": "0",                     "value": "4",                     "newvalue": "failed"                 },                 {                     "type": "0",                     "value": "5",                     "newvalue": "highTemperature"                 },                 {                     "type": "0",                     "value": "6",                     "newvalue": "replaceImmediately"                 },                 {                     "type": "0",                     "value": "7",                     "newvalue": "lowCapacity"                 }             ]         }     ],     "id": 1 } ```
es	#### Recuperando mapas de valores  Recupera todos los mapas de valores configurados.  [Solicitud](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "valuemap.get",     "params": {         "output": "extend"     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "valuemapid": "4",             "name": "APC Battery Replacement Status"         },         {             "valuemapid": "5",             "name": "APC Battery Status"         },         {             "valuemapid": "7",             "name": "Dell Open Manage System Status"         }     ],     "id": 1 } ```  Recupera un mapa de valores con sus asignaciones.  [Consulta](/manual/api#performing-requests):  ```json {     "jsonrpc": "2.0",     "method": "valuemap.get",     "params": {         "output": "extend",         "selectMappings": "extend",         "valuemapids": ["4"]     },     "id": 1 } ```  Respuesta:  ```json {     "jsonrpc": "2.0",     "result": [         {             "valuemapid": "4",             "name": "APC Battery Replacement Status",             "mappings": [                 {                     "type": "0",                     "value": "1",                     "newvalue": "unknown"                 },                 {                     "type": "0",                     "value": "2",                     "newvalue": "notInstalled"                 },                 {                     "type": "0",                     "value": "3",                     "newvalue": "ok"                 },                 {                     "type": "0",                     "value": "4",                     "newvalue": "failed"                 },                 {                     "type": "0",                     "value": "5",                     "newvalue": "highTemperature"                 },                 {                     "type": "0",                     "value": "6",                     "newvalue": "replaceImmediately"                 },                 {                     "type": "0",                     "value": "7",                     "newvalue": "lowCapacity"                 }             ]         }     ],     "id": 1 } ```

en-us	### Return values  `(array)` Returns an array of objects containing the ID of the generated token under the `tokenid` property and generated authorization string under `token` property.  |Property|[Type](/manual/api/reference_commentary#data_types)|Description| |--|--|------| |tokenid|ID|ID of the token.| |token|string|The generated authorization string for this token.|
es	### Valores de retorno  `(matriz)` Devuelve una matriz de objetos que contiene el ID del objeto generado. token bajo la propiedad `tokenid` y cadena de autorización generada bajo propiedad "token".  |Propiedad|[Tipo](/manual/api/reference_commentary#data_types)|Descripción| |--|--|------| |tokenid|ID|ID del token.| |token|string|La cadena de autorización generada para este token.|

en-us	### Return values  `(array)` Returns an array with changes in configuration, that will be made.
es	### Valores de retorno  `(matriz)` Devuelve una matriz con los cambios en la configuración que se realizarán.

en-us	### Return values  `(array)` Returns an array with the names of updated parameters.
es	### Valores de retorno  `(matriz)` Devuelve una matriz con los nombres de los parámetros actualizados.

en-us	### Return values  `(array)` Returns an array with the names of updated parameters.
es	### Valores devueltos  `(array)` Devuelve un array con los nombres de los parámetros que han sido actualizados.

en-us	### Return values  `(array)` Returns an array with the names of updated parameters.
es	### Valores devueltos  `(array)` Devuelve un array con los nombres de los parámetros que han sido actualizados.

en-us	### Return values  `(boolean )` Returns boolean true as result on successful update.
es	### Valores de retorno  `(booleano)` Devuelve un valor booleano verdadero como resultado de una actualización exitosa.

en-us	### Return values  `(boolean)` Returns `true` if importing has been successful.
es	### Valores de retorno  `(booleano)` Devuelve `true` si la importación se realizó correctamente.

en-us	### Return values  `(boolean)` Returns `true` if the copying was successful.
es	### Valores devueltos  `(booleano)` Devuelve `verdadero` si la copia fue exitosa.

en-us	### Return values  `(boolean)` Returns `true` if the user has been logged out successfully.
es	### Valores de retorno  `(booleano)` Devuelve `verdadero` si la sesión del usuario se ha cerrado correctamente.

en-us	### Return values  `(bool)` Returns true on success.
es	### Valores de retorno  `(bool)` Devuelve verdadero en caso de éxito.

en-us	### Return values  `(integer/array)` Returns an array of objects.
es	### Valores de retorno  `(entero/matriz)` Devuelve una matriz de objetos.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una variedad de objetos; - el recuento de objetos recuperados, si se ha utilizado el parámetro `countOutput`.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has been used.
es	### Valores de devueltos  `(integer/array)` Returns either:  -   una matriz de objetos; -   la suma de los objetos devueltos, si el parámetro `countOutput` está      siendo usado

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  -   una matriz de objetos; -   el recuento de objetos recuperados, si el parámetro `countOutput` ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has been used.
es	### Valores de devueltos  `(integer/array)` Devuelve:  -   una matriz de objetos; -   la suma de los objetos devueltos, si el parámetro `countOutput` ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si se ha utilizado el parámetro `countOutput`.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has been used.
es	### Valores de devueltos  `(integer/array)` Devuelve:  -   una matriz de objetos; -   la suma de los objetos devueltos, si el parámetro `countOutput` está      siendo usado

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de devueltos  `(integer/array)` Devuelve:  -   una matriz de objetos; -   la suma de los objetos devueltos, si el parámetro `countOutput` está      siendo usado

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`      ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de devueltos  `(integer/array)` Returns either:  -   una matriz de objetos; -   la suma de los objetos devueltos, si el parámetros `countOutput` está      siendo usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`      ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`      ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de devueltos  `(integer/array)` Returns either:  -   una matriz de objetos; -   la suma de los objetos devueltos, si el parámetros `countOutput` está      siendo usado

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores devueltos  `(integer/array)` Devuelve cualquiera de los dos:  -   Una matriz (array) de objetos; -   El número de objetos devueltos, si se ha usado el parámetro `countOutput`.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de devueltos  `(integer/array)` Returns either:  -   una matriz de objetos; -   la suma de los objetos devueltos, si el parámetros `countOutput` está      siendo usado

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de devueltos  `(integer/array)` Returns either:  -   una matriz de objetos; -   la suma de los objetos devueltos, si el parámetros `countOutput` está      siendo usado

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`      ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de devueltos  `(integer/array)` Returns either:  -   una matriz de objetos; -   la suma de los objetos devueltos, si el parámetros `countOutput` está      siendo usado

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de devueltos  `(integer/array)` Returns either:  -   una matriz de objetos; -   la suma de los objetos devueltos, si el parámetros `countOutput` está      siendo usado

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`     ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores devueltos  `(interger/array)` devuelve:  -   un arreglo de objetos;       -   el contador de los objetos devueltos, si el parámetro `countOutput` ha      sido utilizado.

en-us	### Return values  `(integer/array)` Returns either:  -   an array of objects; -   the count of retrieved objects, if the `countOutput` parameter has     been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si el parámetro `countOutput`      ha sido usado.

en-us	### Return values  `(integer/array)` Returns either:  - an array of objects; - the count of retrieved objects, if the `countOutput` parameter has been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si se ha utilizado el parámetro `countOutput`.

en-us	### Return values  `(integer/array)` Returns either:  - an array of objects; - the count of retrieved objects, if the `countOutput` parameter has been used, but the `groupBy` parameter has not been used; - an array of objects with aggregation results, if the `groupBy` parameter has been used.
es	### Valores de retorno  `(entero/matriz)` Devuelve:  - una matriz de objetos; - el recuento de objetos recuperados, si se ha utilizado el parámetro `countOutput`, pero no se ha utilizado el parámetro `groupBy`; - una matriz de objetos con resultados de agregación, si se ha utilizado el parámetro `groupBy`.

en-us	### Return values  `(object)` Returns an object containing information about the user.  Additionally to the [standard user properties](object#user), the following information is returned.  |Property|[Type](/manual/api/reference_commentary#data_types)|Description| |--|--|------| |auth\_type|integer|Default authentication for the user.<br><br>Refer to the `authentication_type` property of the [Authentication object](/manual/api/reference/authentication/object#authentication-object) for a list of possible values.| |debug\_mode|integer|Whether debug mode is enabled or disabled for the user.<br><br>Refer to the `debug_mode` property of the [User group object](/manual/api/reference/usergroup/object#user_group) for a list of possible values.| |deprovisioned|boolean|Whether the user belongs to a [deprovisioned users group](/manual/web_interface/frontend_sections/users/authentication#configuration).| |gui\_access|string|User's authentication method to the frontend.<br><br>Refer to the `gui_access` property of the [User group object](/manual/api/reference/usergroup/object#user_group) for a list of possible values.| |secret|string|Random 32 characters string. Is generated on user login.<br><br>Property `secret` is not returned if the user session is checked using an API token.| |sessionid|string|Authentication token, which must be used in the following API requests.<br><br>Property `sessionid` is not returned if the user session is checked using an API token.| |type|integer|User type.<br><br>Refer to the `type` property of the [Role object](/manual/api/reference/role/object#role) for a list of possible values.| |userip|string|IP address of the user.|
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene información sobre el usuario.  Además de las propiedades estándar de [usuario] (object#user), se devuelve la siguiente información.  |Propiedad|[Tipo](/manual/api/reference_commentary#data_types)|Descripción| |--|--|------| |auth\_type|entero|Autenticación predeterminada para el usuario.<br><br>Consulte la propiedad `authentication_type` del [objeto de autenticación](/manual/api/reference/authentication/object#authentication-object) para obtener una lista de valores posibles.| |debug\_mode|entero|Si el modo de depuración está habilitado o deshabilitado para el usuario.<br><br>Consulte la propiedad `debug_mode` del [objeto de grupo de usuarios](/manual/api/reference/usergroup/object# user_group) para obtener una lista de valores posibles.| |deprovisioned|booleano|Si el usuario pertenece a un [grupo de usuarios](/manual/web_interface/frontend_sections/users/authentication#configuration) desaprovisionados.| |gui\_access|stringcadenaMétodo de autenticación del usuario en la interfaz de usuario.<br><br>Consulte la propiedad `gui_access` del [objeto de grupo de usuarios](/manual/api/reference/usergroup/object#user_group) para obtener un lista de valores posibles.| |secret|cadena|Cadena aleatoria de 32 caracteres. Se genera al iniciar sesión el usuario.<br><br>La propiedad `secret` no se devuelve si la sesión del usuario se verifica mediante un token API.| |sessionid|cadena|Token de autenticación, que debe usarse en las siguientes solicitudes API.<br><br>La propiedad `sessionid` no se devuelve si la sesión del usuario se verifica usando un token API.| |type|enterio|Tipo de usuario.<br><br>Consulte la propiedad `type` del [objeto de rol](/manual/api/reference/role/object#role) para obtener una lista de valores posibles.| |userip|cadena|Dirección IP del usuario.|

en-us	### Return values  `(object)` Returns an object containing the IDs of the cleared items under the `itemids` property.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los elementos borrados bajo la propiedad "itemids".

en-us	### Return values  `(object)` Returns an object containing the IDs of the created actions under the `actionids` property. The order of the returned IDs matches the order of the passed actions.
es	### Valores devueltos  `(object)` Devuelve un objeto que contiene los ID de las acciones creadas bajo la propiedad `actionids`. El orden de los ID devueltos coincide con el orden de las acciones pasadas.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created connectors under the `connectorids` property. The order of the returned IDs matches the order of the passed connectors.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los conectores creados bajo la propiedad `connectorids`. El orden de los ID devueltos coincide con el orden de los conectores pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created correlations under the `correlationids` property. The order of the returned IDs matches the order of the passed correlations.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de las correlaciones creadas bajo la propiedad `correlationids`. El orden de los ID devueltos coinciden con el orden de las correlaciones pasadas.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created dashboards under the `dashboardids` property. The order of the returned IDs matches the order of the passed dashboards.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los tableros creados bajo la propiedad `dashboardids`. El orden de los ID devueltos coinciden con el orden de los tableros pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created discovery rules under the `druleids` property. The order of the returned IDs matches the order of the passed discovery rules.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de las reglas de descubrimiento creadas bajo la propiedad "druleids". El orden de los ID devueltos coinciden con el orden de las reglas de descubrimiento suministradas.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created global macros under the `globalmacroids` property. The order of the returned IDs matches the order of the passed global macros.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de las macros globales creadas bajo la propiedad `globalmacroids`. El orden de los ID devueltos coinciden con el orden de las macros globales pasadas.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created graph prototypes under the `graphids` property. The order of the returned IDs matches the order of the passed graph prototypes.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los prototipos de gráfico creados bajo la propiedad `graphids`. El orden de las identificaciones devueltos coincide con el orden de los prototipos de gráficos pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created graphs under the `graphids` property. The order of the returned IDs matches the order of the passed graphs.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los gráficos creados bajo la propiedad `graphids`. El orden de los ID devueltos coincide con el orden de los gráficos pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created host groups under the `groupids` property. The order of the returned IDs matches the order of the passed host groups.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los grupos de equipos creados bajo la propiedad `groupids`. El orden de las identificaciones devueltas coincide con el orden de los grupos de equipos pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created host interfaces under the `interfaceids` property.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID del las interfaces de equipo creadas bajo la propiedad `interfaceids`.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created host interfaces under the `interfaceids` property.
es	### Valores devueltos   `(objeto)` Devuelve un objeto que contiene los ID del host creado interfaces bajo la propiedad `interfaceids`.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created host interfaces under the `interfaceids` property. The order of the returned IDs matches the order of the passed host interfaces.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID del interface del equipo creado bajo la propiedad `interfaceids`. El orden de los  ID devueltos, coinciden con el orden de las interfaces de equipo pasadas.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created host macros under the `hostmacroids` property. The order of the returned IDs matches the order of the passed host macros.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de las macros de equipo creadas  bajo la propiedad `hostmacroids`. El orden de las identificaciones devueltas. coincide con el orden de las macros de equipo pasadas.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created host prototypes under the `hostids` property. The order of the returned IDs matches the order of the passed host prototypes.
es	### Valores devueltos   `(object)` Devuelve un objeto que contiene los ID del host creado prototipos bajo la propiedad `hostids`. El orden de las identificaciones devueltas coincide con el orden de los prototipos de host aprobados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created hosts under the `hostids` property. The order of the returned IDs matches the order of the passed hosts.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los equipos creados bajo la propiedad `hostids`. El orden de los ID devueltos coincide con el orden de los equipos pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created icon maps under the `iconmapids` property. The order of the returned IDs matches the order of the passed icon maps.
es	### Valores de retorno  `(object)` Devuelve un objeto que contiene los IDs de los mapas de iconos creados bajo la propiedad `iconmapids`. El orden de los ID devueltos coincide con el orden de los mapas de iconos pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created images under the `imageids` property. The order of the returned IDs matches the order of the passed images.
es	### Valores de retorno  `(object)` Devuelve un objeto que contiene los IDs de las imágenes creadas bajo la propiedad `imageids`. El orden de los ID devueltos coincide con el orden de las imágenes pasadas.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created item prototypes under the `itemids` property. The order of the returned IDs matches the order of the passed item prototypes.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los prototipos de métrica creados bajo la propiedad `itemids`. El orden de las identificaciones devueltas. coincide con el orden de los prototipos de métrica pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created items under the `itemids` property. The order of the returned IDs matches the order of the passed items.
es	### Valores de retorno  `(object)` Devuelve un objeto que contiene los IDs de las métricas creadas bajo la propiedad "itemids". El orden de los IDs devueltos coincide con el orden de las métricas pasadas.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created LLD rules under the `itemids` property. The order of the returned IDs matches the order of the passed LLD rules.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de las reglas LLD creadas bajo la propiedad "itemids". El orden de los ID devueltos coincide con el orden de las reglas LLD suministradas.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created maintenances under the `maintenanceids` property. The order of the returned IDs matches the order of the passed maintenances.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los mantenimientos creados bajo la propiedad `maintenanceids`. El orden de  los ID devueltos coinciden con el orden de los mantenimientos pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created maps under the `sysmapids` property. The order of the returned IDs matches the order of the passed maps.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los mapas creados bajo la propiedad `sysmapids`. El orden de los ID devueltos coincide. el orden de los mapas pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created media types under the `mediatypeids` property. The order of the returned IDs matches the order of the passed media types.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los tipos de medios creados bajo la propiedad `mediatypeids`. El orden de las identificaciones devueltas coincide con el orden de los tipos de medios pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created MFA methods under the `mfaids` property. The order of the returned IDs matches the order of the passed items.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los métodos MFA creados bajo la propiedad `mfaids`. El orden de los ID devueltos coincide con el orden de los elementos pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created proxies under the `proxyids` property. The order of the returned IDs matches the order of the passed proxies.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los servidores proxy creados bajo la propiedad `proxyids`. El orden de  los ID devueltos coinciden con el orden de los proxies pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created proxy groups under the `proxy_groupids` property. The order of the returned IDs matches the order of the passed proxy groups.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los grupos de proxy creados bajo la propiedad `proxy_groupids`. El orden de los ID devueltos coincide con el orden de los grupos de proxy pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created regular expressions under the `regexpids` property.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de las expresiones regulares creadas bajo la propiedad `regexpids`.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created roles under the `roleids` property. The order of the returned IDs matches the order of the passed roles.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los roles creados bajo la propiedad `roleids`. El orden de los ID devueltos coincide con el orden de los roles pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created scheduled reports under the `reportids` property. The order of the returned IDs matches the order of the passed scheduled reports.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los informes programados creados  bajo la propiedad `reportids`. El orden de las identificaciones devueltas. coincide con el orden de los informes programados pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created scripts under the `scriptids` property. The order of the returned IDs matches the order of the passed scripts.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los scripts creados bajo la propiedad `scriptids`. El orden de los ID devueltos coincide. el orden de los scripts pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created services under the `serviceids` property. The order of the returned IDs matches the order of the passed services.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los servicios creados bajo la propiedad `serviceids`. El orden de los ID devueltos coincide. el orden de los servicios pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created SLAs under the `slaids` property. The order of the returned IDs matches the order of the passed SLAs.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los SLA creados bajo la propiedad `slaids`. El orden de los ID devueltos coincide con el orden de los SLA pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created tasks under the `taskids` property. One task is created for each item and low-level discovery rule. The order of the returned IDs matches the order of the passed `itemids`.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de las tareas creadas bajo la propiedad `taskids`. Se crea una tarea para cada métrica y regla de descubrimiento de bajo nivel. El orden de los ID devueltos coincide con el orden de los `itemids` pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created template dashboards under the `dashboardids` property. The order of the returned IDs matches the order of the passed template dashboards.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de las plantillas de tablero creadas bajo la propiedad `dashboardids`. El orden de los  ID devueltos coinciden con el orden de las plantillas de tablero pasadas.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created template groups under the `groupids` property. The order of the returned IDs matches the order of the passed template groups.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los grupos de plantilla creados bajo la propiedad `groupids`. El orden de las identificaciones devueltas. coincide con el orden de los grupos de plantillas pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created templates under the `templateids` property. The order of the returned IDs matches the order of the passed templates.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de las plantillas creadas bajo la propiedad `templateids`. El orden de los ID devueltos coincide con el orden de las plantillas pasadas.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created tokens under the `tokenids` property. The order of the returned IDs matches the order of the passed tokens.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los tokens creados bajo la propiedad `tokenids`. El orden de los ID devueltos coincide con el orden de los tokens pasados.

en-us	### Return values  `(object)` Returns an object containing the IDs of the created trigger prototypes under the `triggerids` property. The order of the returned IDs matches the order of the passed trigger prototypes.
es	### Valores de retorno  `(objeto)` Devuelve un objeto que contiene los ID de los prototipos de iniciador creados bajo la propiedad `triggerids`. El orden de los ID devueltos coinciden con el orden de los prototipos de iniciador pasados.