Core APIs
List
Combine Lists By Key
1 min
combines or merges items from combine list into every json object of the input list the substitution rules are used to define what the output should be like the two lists are combined by keys api definition { "tab" "examples", "url" "https //orca pathfix com/functions/list/combine by key", "name" "combine one to many api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" \[\n {\n \\"q\\" \\"your first and last name\\",\n \\"a\\" \\"bruce wayne\\",\n \\"q id\\" \\"q1\\"\n },\n {\n \\"q\\" \\"company name\\",\n \\"a\\" \\"wayne enterprises\\",\n \\"q id\\" \\"q2\\"\n }\n ],\n \\"size in bytes\\" 585 0\n}", "language" "200" }, { "id" "yix64dyiudpjgbrfsfawb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "28usdqyeh3qrdmtvamsqt" }, "examples" { "languages" \[ { "id" "encjz9tstg38f0x taa4x", "code" "{\n \\"input\\" \[\n {\n \\"questionid\\" \\"q1\\",\n \\"answer\\" \\"bruce wayne\\"\n },\n {\n \\"questionid\\" \\"q2\\",\n \\"answer\\" \\"wayne enterprises\\"\n }\n ],\n \\"input combine\\" \[\n {\n \\"title\\" \\"your first and last name\\",\n \\"questionitem\\" {\n \\"question\\" {\n \\"questionid\\" \\"q1\\"\n }\n }\n },\n {\n \\"title\\" \\"company name\\",\n \\"questionitem\\" {\n \\"question\\" {\n \\"questionid\\" \\"q2\\"\n }\n }\n }\n ],\n \\"input key\\" \\"questionid\\",\n \\"input combine key\\" \\"questionitem question questionid\\",\n \\"output\\" {\n \\"q\\" \\"{{input combine title}}\\",\n \\"a\\" \\"{{input answer}}\\",\n \\"q id\\" \\"{{input questionid}}\\"\n }\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }