Hello, first time here! I’m starting to figure out how to update and get information from Monday boards on a Excel sheet using VBA. Checking out the API documentation, my first attempt was to retrieve the name of a specific board, but the name won’t appear on the response text from the html.
This is what I have so far:
Public Pass As Variant
Sub monday()
Dim monday As New MSXML2.ServerXMLHTTP60
Dim response As Variant
Dim status As Variant
Dim query As String
query = " { ""query"" : ""{boards(ids: xxxxx){views{name}}}""} "
With monday
.Open "POST", myurl , False
.SetRequestHeader "Content-Type", "application/json"
.SetRequestHeader "Accept", "application/json"
.SetRequestHeader "Authorization", mytoken
.Send query
response = .ResponseText
status = .status & " | " & .StatusText
MsgBox response
MsgBox status
End With
End Sub
For the response text I’m getting: {“data”:{“boards”:[{“views”:}]},“account_id”:xxxxxxx}
For the status and status text: 200 | OK
I thought the board name would show on the response text. Am I parsing something wrong?