{"action":"created","issue":{"url":"https://api.github.com/repos/hengyunabc/zabbix-api/issues/2","labels_url":"https://api.github.com/repos/hengyunabc/zabbix-api/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/hengyunabc/zabbix-api/issues/2/comments","events_url":"https://api.github.com/repos/hengyunabc/zabbix-api/issues/2/events","html_url":"https://github.com/hengyunabc/zabbix-api/issues/2","id":100992170,"number":2,"title":"how to pass the array of hostid to trigger.get or event.get?","user":{"login":"Diwahars","id":5858395,"avatar_url":"https://avatars.githubusercontent.com/u/5858395?v=3","gravatar_id":"","url":"https://api.github.com/users/Diwahars","html_url":"https://github.com/Diwahars","followers_url":"https://api.github.com/users/Diwahars/followers","following_url":"https://api.github.com/users/Diwahars/following{/other_user}","gists_url":"https://api.github.com/users/Diwahars/gists{/gist_id}","starred_url":"https://api.github.com/users/Diwahars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diwahars/subscriptions","organizations_url":"https://api.github.com/users/Diwahars/orgs","repos_url":"https://api.github.com/users/Diwahars/repos","events_url":"https://api.github.com/users/Diwahars/events{/privacy}","received_events_url":"https://api.github.com/users/Diwahars/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-14T11:20:28Z","updated_at":"2015-08-18T01:21:13Z","closed_at":null,"body":"Hi,\r\n\r\ncould you help how to pass the array of hostid or itemid to trigger.get or event.get to the result for only those hostids?\r\n\r\n\r\nthanks in advance"},"comment":{"url":"https://api.github.com/repos/hengyunabc/zabbix-api/issues/comments/132019132","html_url":"https://github.com/hengyunabc/zabbix-api/issues/2#issuecomment-132019132","issue_url":"https://api.github.com/repos/hengyunabc/zabbix-api/issues/2","id":132019132,"user":{"login":"xfworld","id":5020771,"avatar_url":"https://avatars.githubusercontent.com/u/5020771?v=3","gravatar_id":"","url":"https://api.github.com/users/xfworld","html_url":"https://github.com/xfworld","followers_url":"https://api.github.com/users/xfworld/followers","following_url":"https://api.github.com/users/xfworld/following{/other_user}","gists_url":"https://api.github.com/users/xfworld/gists{/gist_id}","starred_url":"https://api.github.com/users/xfworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xfworld/subscriptions","organizations_url":"https://api.github.com/users/xfworld/orgs","repos_url":"https://api.github.com/users/xfworld/repos","events_url":"https://api.github.com/users/xfworld/events{/privacy}","received_events_url":"https://api.github.com/users/xfworld/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T01:21:13Z","updated_at":"2015-08-18T01:21:13Z","body":"@hengyunabc 我知道怎么用java代码来完成你的要求，不过我暂时没有办法公布出来；只能给你提示：\r\nRequest getRequest = RequestBuilder.newBuilder().method(\"trigger.get\")\r\n                .paramEntry(\"hostIds\", hostIds).paramEntry(\"monitored\", true).paramEntry(\"only_true\", true).build();\r\n\r\ntry it again,best wish ^_^"}}