Ah, ok. Now the query results have two separate lists: one with the titles, and then one with the values. This would mean rewriting all my python code. I also can’t find any documentation on getting at the subitem title.
Original (desired) result:
{
"data": {
"boards": [
{
"groups": [
{
"items": [
{
"id": "5485065803",
"name": "Test Pallet",
"column_values": [
{
"title": "LPN",
"text": "1234"
},
{
"title": "Bin",
"text": "E3E3"
},
{
"title": "Status",
"text": "Put Away"
},
{
"title": "Staff",
"text": null
},
{
"title": "Invoice",
"text": "ASDF1234"
},
{
"title": "PutDate",
"text": "2023-11-09 17:50:46 UTC"
},
{
"title": "Item ID",
"text": "5485065803"
},
{
"title": "Item Type",
"text": ""
}
],
"subitems": [
{
"id": "5485068084",
"name": "300.TET",
"column_values": [
{
"title": "Received",
"text": ""
},
{
"title": "Qty",
"text": "321"
},
{
"title": "Replenished",
"text": ""
},
{
"title": "Partial",
"text": ""
}
]
}
]
}
]
}
]
}
]
}
And the result from your solution:
{
"data": {
"boards": [
{
"columns": [
{
"title": "LPN"
},
{
"title": "Bin"
},
{
"title": "Status"
},
{
"title": "Staff"
},
{
"title": "Invoice"
},
{
"title": "PutDate"
},
{
"title": "Item ID"
},
{
"title": "Item Type"
}
],
"groups": [
{
"items_page": {
"items": [
{
"id": "5485065803",
"name": "Test Pallet",
"column_values": [
{
"text": "1234"
},
{
"text": "E3E3"
},
{
"text": "Put Away"
},
{
"text": ""
},
{
"text": "ASDF1234"
},
{
"text": "2023-11-09 17:50:46 UTC"
},
{
"text": "5485065803"
},
{
"text": null
}
],
"subitems": [
{
"id": "5485068084",
"name": "300.TET",
"column_values": [
{
"text": ""
},
{
"text": "321"
},
{
"text": null
},
{
"text": null
}
]
}
]
}
]
}
}
]
}
]
}