Has anybody got Podio to work with Power BI. I managed to get the token process to work in Power BI. I can get single record results to work but when using a list pull, I can't get it to work.
Podio Token Portion: Working
let
token_url = "https://podio.com/oauth/token",
client_id = "####",
client_secret = "000####",
grant_type = "password",
username = "user@user.com",
password = "###",
body = "client_id="&client_id&"&client_secret="&client_secret&"&grant_type="&grant_type&"&username="&username&"&password="&password,
Source = Json.Document(Web.Contents(token_url, [
[
Headers = [#"Content-Type"="application/x-www-form-urlencoded"],
Content = Text.ToBinary(body)
])
),
token = "bearer " & Source[access_token]
in
token
Podio Grab List (Need Help Here):
let
url = "https://api.podio.com/item/app/0000000/filter/",
token = #"Podio Token",
headers = [Headers = [#"Authorization" = token,
#"Content-Type"="application/json"]],
Source = Json.Document(Web.Contents(url,headers))
in
Source
All I keep getting is 400 Bad Request.