let
token_url = "URL TO OAUTH TOKEN",
token_path = "oauth/token",
api_url = "URL TO INTEGRATION SUITE",
api_path ="URL PATH TO iFLOW",
TokenResponse = Json.Document(
Web.Contents(
token_url,
[
RelativePath = token_path,
Query = [grant_type="client_credentials"],
Headers = [
#"Content-Type"="application/x-www-form-urlencoded"
]
]
)
),
token = TokenResponse[access_token],
Source = Xml.Tables(
Web.Contents(
api_url,
[
RelativePath = api_path,
Headers = [
#"Authorization"="Bearer "&token,
#"Content-Type"="application/xml"
]
]
)
),
Table0 = Source{0}[Table],
#"ChangedType" = Table.TransformColumnTypes(
Table0,{
{"PackageName", type text},
}
),
in
#"ChangedType"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
12 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |