{"action":"created","issue":{"url":"https://api.github.com/repos/toggl/toggl_api_docs/issues/211","repository_url":"https://api.github.com/repos/toggl/toggl_api_docs","labels_url":"https://api.github.com/repos/toggl/toggl_api_docs/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/toggl/toggl_api_docs/issues/211/comments","events_url":"https://api.github.com/repos/toggl/toggl_api_docs/issues/211/events","html_url":"https://github.com/toggl/toggl_api_docs/issues/211","id":189840319,"number":211,"title":"Using API to get data from a Detailed Report I have saved","user":{"login":"jessicam2","id":21674623,"avatar_url":"https://avatars.githubusercontent.com/u/21674623?v=3","gravatar_id":"","url":"https://api.github.com/users/jessicam2","html_url":"https://github.com/jessicam2","followers_url":"https://api.github.com/users/jessicam2/followers","following_url":"https://api.github.com/users/jessicam2/following{/other_user}","gists_url":"https://api.github.com/users/jessicam2/gists{/gist_id}","starred_url":"https://api.github.com/users/jessicam2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessicam2/subscriptions","organizations_url":"https://api.github.com/users/jessicam2/orgs","repos_url":"https://api.github.com/users/jessicam2/repos","events_url":"https://api.github.com/users/jessicam2/events{/privacy}","received_events_url":"https://api.github.com/users/jessicam2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-16T20:50:34Z","updated_at":"2016-11-17T17:00:48Z","closed_at":"2016-11-17T16:44:29Z","body":"I'm trying to use the API for our workspace to get data into an analytical tool, Qlik. I’m having problems figuring out which API to use. I’d like to use a detailed report I have saved (screenshot below). It’s year to date, so I’d just like to just pull this report / refresh the data via the API whenever we need it, \r\nWhen I enter the URL for this report in Qlik as well as in just browser it connects (as expected) but no data appear when I try to load data in Qlik. \r\nI’m guessing I need to enter “api” into this URL string somewhere, but I haven’t been able to figure that out yet.\r\nHere's a screenshot of the type of report I just want to get via an API call so that I can generate custom graphs, pivot tables, etc.\r\nANY help is greatly appreciated! \r\n\r\n![image](https://cloud.githubusercontent.com/assets/21674623/20365227/33bffd52-ac14-11e6-8b95-3e15993a623c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/toggl/toggl_api_docs/issues/comments/261304289","html_url":"https://github.com/toggl/toggl_api_docs/issues/211#issuecomment-261304289","issue_url":"https://api.github.com/repos/toggl/toggl_api_docs/issues/211","id":261304289,"user":{"login":"jessicam2","id":21674623,"avatar_url":"https://avatars.githubusercontent.com/u/21674623?v=3","gravatar_id":"","url":"https://api.github.com/users/jessicam2","html_url":"https://github.com/jessicam2","followers_url":"https://api.github.com/users/jessicam2/followers","following_url":"https://api.github.com/users/jessicam2/following{/other_user}","gists_url":"https://api.github.com/users/jessicam2/gists{/gist_id}","starred_url":"https://api.github.com/users/jessicam2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessicam2/subscriptions","organizations_url":"https://api.github.com/users/jessicam2/orgs","repos_url":"https://api.github.com/users/jessicam2/repos","events_url":"https://api.github.com/users/jessicam2/events{/privacy}","received_events_url":"https://api.github.com/users/jessicam2/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T17:00:47Z","updated_at":"2016-11-17T17:00:47Z","body":"Hi,\r\nThanks for your quick response.\r\nUnfortunately I’m still not clear on how that should work.\r\nHere’s what I’m trying now based on what I understand in the link you sent:\r\n\r\nhttps://www.toggl.com/reports/api/v2/details?rounding=Off&status=active&name=This+year%27s+detailed+report+for+our+team&billable=both&calculate=&sortDirection=asc&sortBy=date&page=1&grouping=&subgrouping=time_entries&order_field=date&order_desc=off&distinct_rates=Off&description=&since=2016-01-01&until=2016-12-31&period=thisYear&with_total_currencies=1&user_agent=myemail@test.org&12345myactualAPItoken123456:api_token&workspace_id=1507879&bars_count=31&subgrouping_ids=true&bookmark_token=1fea04363e8e23a04b0b161e941775d4&date_format=MM%2FDD%2FYYYY\r\n\r\n\r\nbut am still getting {\"error\":{\"message\":\"api token missing\",\"tip\":\"You can find your API Token in your profile at https://www.toggl.com\",\"code\":401}}\r\nThanks so much for your help!\r\nJessica\r\n\r\n\r\nFrom: Margus Mahler [mailto:notifications@github.com]\r\nSent: Thursday, November 17, 2016 11:45 AM\r\nTo: toggl/toggl_api_docs <toggl_api_docs@noreply.github.com>\r\nCc: Malenfant, Jessica <jessica_malenfant@harvardpilgrim.org>; Author <author@noreply.github.com>\r\nSubject: Re: [toggl/toggl_api_docs] Using API to get data from a Detailed Report I have saved (#211)\r\n\r\n\r\nYou need to include the authentication header (HTTP Basic auth), just appending the token into the URL won't work.\r\n\r\nMore info at https://github.com/toggl/toggl_api_docs/blob/master/chapters/authentication.md\r\n\r\n—\r\nYou are receiving this because you authored the thread.\r\nReply to this email directly, view it on GitHub<https://github.com/toggl/toggl_api_docs/issues/211#issuecomment-261299625>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AUq6fwASVKWMhYgwPgdwKk_8QeejG4bYks5q_IRvgaJpZM4K0b54>.\r\n\r\nThe information contained in this email message and any attachments may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any review, disclosure, reproduction, distribution or other use of this communication is strictly prohibited. If you received this email in error, please notify the sender by reply and delete the message without saving, copying or disclosing it.\r\n"}}
{"actor":{"display_login":"jessicam2"}}