Transform Grouped List to a Flat List
1 min
Converts a single level nested list into a flat list. On conversion it only retains the values of the keys mentioned in the "group_fields" and "list fields"
API Definition
Transform Grouped List API
Call the following API:
POST
https://orca.pathfix.com/functions/list/grouptolist
{
"input": [{
"name": "Gates",
"address": {
"street": "2037 Geraldine Lane",
"city": "Long Island City",
"state": "New York"
}
},
{
"name": "Micheal",
"address": {
"street": "4212 Sunburst Drive",
"city": "Lehigh Acres",
"state": "Florida"
}
}
],
"input_list": "address",
"group_fields": "name",
"list_fields": "city,state"
}