Core APIs
List
Combine One to Many
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 api definition { "tab" "examples", "url" "https //orca pathfix com/functions/list/combine one to many", "name" "combine one to many api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" \[\n {\n\t\t\t\\"user id\\" \\"bruce\@pathfix com\\",\n \t\t\\"company\\" \\"pathfix\\"\n\t\t},\n\t\t{\n\t\t\t\\"user id\\" \\"paul\@pathfix com\\"\n \\"company\\" \\"pathfix\\"\n\t\t},\n\t\t{\n\t\t\t\\"user id\\" \\"chang\@pathfix com\\"\n \t\t\\"company\\" \\"pathfix\\"\n\t\t}\n ]\n}", "language" "200" }, { "id" "yix64dyiudpjgbrfsfawb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "28usdqyeh3qrdmtvamsqt" }, "examples" { "languages" \[ { "id" "encjz9tstg38f0x taa4x", "code" "{\r\n\t\\"input\\" \[\r\n\t\t{\r\n\t\t\t\\"user id\\" \\"bruce\@pathfix com\\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\\"user id\\" \\"paul\@pathfix com\\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\\"user id\\" \\"chang\@pathfix com\\"\r\n\t\t}\r\n\r\n\t],\r\n\t\\"input combine\\" {\r\n\t\t\\"company\\" \\"pathfix\\"\r\n\t},\r\n\t\\"output\\" {\r\n\t\t\\"email\\" \\"{{input user id}}\\",\r\n\t\t\\"company\\" \\"{{input combine company}}\\"\r\n\t}\r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }