Hello All!
I am new to Monday.com API and new to this client. We are using PowerQuery in Power BI to query the API for the information we need. The previous consultants never migrated fully, or maybe at all, to changes for the 2023-10 version. It is still setup and using the 2023-07 version and I have 3 weeks to get this changed over before the extension ends.
I could use any urgent help possible on understanding what this current API query is doing 100% and what I need to adjust to work with the major changes that appear to have come along with 2023-10.
I don’t believe this is 100% reflective of Monday’s documentation due to it being handle a little differently to load into PowerQuery. To start this conversation, here is 1 of the queries we have running. I would assume our focus will be on the Query element itself since everything has functioned until recently (before we did an extension for 2023-07).
The final line for "Data = " is when PowerQuery takes that result to start working further with it. I included because I don’t know if those fields being named will remain the same or what impact may occur to them.
Source = Web.Contents(
"https://api.monday.com/v2",
[
Headers=[
#"Method"="POST",
#"API-Version"="2023-10",
#"Content-Type"="application/json",
#"Authorization"="Bearer xxxxxxxxx
],
Content=Text.ToBinary("{""query"": ""query { boards(ids: board_number_here) { items { name, updated_at, group { title }, columns: column_values { title, text } } } }""}")
]
),
Data = Table.FromList(Json.Document(Source)[data][boards]{0}[items], Record.FieldValues, {"Title", "UpdatedAt", "Group", "Columns"}),