{"action":"created","issue":{"url":"https://api.github.com/repos/Asesjix/Zammad-Client/issues/15","repository_url":"https://api.github.com/repos/Asesjix/Zammad-Client","labels_url":"https://api.github.com/repos/Asesjix/Zammad-Client/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Asesjix/Zammad-Client/issues/15/comments","events_url":"https://api.github.com/repos/Asesjix/Zammad-Client/issues/15/events","html_url":"https://github.com/Asesjix/Zammad-Client/issues/15","id":326028268,"node_id":"MDU6SXNzdWUzMjYwMjgyNjg=","number":15,"title":"Query for organisations and users seem not to work","user":{"login":"MarvinKlar","id":34421947,"node_id":"MDQ6VXNlcjM0NDIxOTQ3","avatar_url":"https://avatars1.githubusercontent.com/u/34421947?v=4","gravatar_id":"","url":"https://api.github.com/users/MarvinKlar","html_url":"https://github.com/MarvinKlar","followers_url":"https://api.github.com/users/MarvinKlar/followers","following_url":"https://api.github.com/users/MarvinKlar/following{/other_user}","gists_url":"https://api.github.com/users/MarvinKlar/gists{/gist_id}","starred_url":"https://api.github.com/users/MarvinKlar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarvinKlar/subscriptions","organizations_url":"https://api.github.com/users/MarvinKlar/orgs","repos_url":"https://api.github.com/users/MarvinKlar/repos","events_url":"https://api.github.com/users/MarvinKlar/events{/privacy}","received_events_url":"https://api.github.com/users/MarvinKlar/received_events","type":"User","site_admin":false},"labels":[{"id":699158984,"node_id":"MDU6TGFiZWw2OTkxNTg5ODQ=","url":"https://api.github.com/repos/Asesjix/Zammad-Client/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"Asesjix","id":7798041,"node_id":"MDQ6VXNlcjc3OTgwNDE=","avatar_url":"https://avatars1.githubusercontent.com/u/7798041?v=4","gravatar_id":"","url":"https://api.github.com/users/Asesjix","html_url":"https://github.com/Asesjix","followers_url":"https://api.github.com/users/Asesjix/followers","following_url":"https://api.github.com/users/Asesjix/following{/other_user}","gists_url":"https://api.github.com/users/Asesjix/gists{/gist_id}","starred_url":"https://api.github.com/users/Asesjix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asesjix/subscriptions","organizations_url":"https://api.github.com/users/Asesjix/orgs","repos_url":"https://api.github.com/users/Asesjix/repos","events_url":"https://api.github.com/users/Asesjix/events{/privacy}","received_events_url":"https://api.github.com/users/Asesjix/received_events","type":"User","site_admin":false},"assignees":[{"login":"Asesjix","id":7798041,"node_id":"MDQ6VXNlcjc3OTgwNDE=","avatar_url":"https://avatars1.githubusercontent.com/u/7798041?v=4","gravatar_id":"","url":"https://api.github.com/users/Asesjix","html_url":"https://github.com/Asesjix","followers_url":"https://api.github.com/users/Asesjix/followers","following_url":"https://api.github.com/users/Asesjix/following{/other_user}","gists_url":"https://api.github.com/users/Asesjix/gists{/gist_id}","starred_url":"https://api.github.com/users/Asesjix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asesjix/subscriptions","organizations_url":"https://api.github.com/users/Asesjix/orgs","repos_url":"https://api.github.com/users/Asesjix/repos","events_url":"https://api.github.com/users/Asesjix/events{/privacy}","received_events_url":"https://api.github.com/users/Asesjix/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-05-24T09:04:01Z","updated_at":"2018-05-31T21:00:43Z","closed_at":null,"author_association":"NONE","body":"Hey,\r\n\r\nfirst of all I really appreciate your work with this API since there are no other .NET API's for Zammad.\r\n\r\nIn general the API works great for me, bu got issues searching for users and organisations. I didn't tested the other enitities.\r\n\r\nIn VB I created a `New ZammadAccount` with the base URL of my Zammad server and used the `ZammadAuthentication.Token` authentication.\r\nThen I created a `OrganizationClient` by calling the `CreateOrganizationClient()` function on the `ZammadAccount` instance.\r\nAnd when I try to search for an organisation like `SearchOrganizationAsync(\"Test\", 1)` I receive an result containing all organizations of my Zammad server and not only the one which is called `Test`.\r\n\r\nSo, the query and limit seem not to work. I was wondering aboud that, cause when I try to query the organisation in my browser it works fine. When I call `https://[my Zammad server]/api/v1/organizations/search?query=Test&limit=1` I see the JSON string of the torganisation with the name `Test`.\r\n\r\nAm I missing anything or is there any mistake?\r\n\r\nThank you very much for your help!\r\n\r\nThanks and regards\r\nMarvin Klar"},"comment":{"url":"https://api.github.com/repos/Asesjix/Zammad-Client/issues/comments/393678574","html_url":"https://github.com/Asesjix/Zammad-Client/issues/15#issuecomment-393678574","issue_url":"https://api.github.com/repos/Asesjix/Zammad-Client/issues/15","id":393678574,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzY3ODU3NA==","user":{"login":"MarvinKlar","id":34421947,"node_id":"MDQ6VXNlcjM0NDIxOTQ3","avatar_url":"https://avatars1.githubusercontent.com/u/34421947?v=4","gravatar_id":"","url":"https://api.github.com/users/MarvinKlar","html_url":"https://github.com/MarvinKlar","followers_url":"https://api.github.com/users/MarvinKlar/followers","following_url":"https://api.github.com/users/MarvinKlar/following{/other_user}","gists_url":"https://api.github.com/users/MarvinKlar/gists{/gist_id}","starred_url":"https://api.github.com/users/MarvinKlar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarvinKlar/subscriptions","organizations_url":"https://api.github.com/users/MarvinKlar/orgs","repos_url":"https://api.github.com/users/MarvinKlar/repos","events_url":"https://api.github.com/users/MarvinKlar/events{/privacy}","received_events_url":"https://api.github.com/users/MarvinKlar/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T21:00:43Z","updated_at":"2018-05-31T21:00:43Z","author_association":"NONE","body":"This is the result of all tests: http://prntscr.com/jp848l"}}
{"actor":{"display_login":"MarvinKlar"}}