Core APIs
Text
Multi Switch
1 min
switches the reponse based on the input provided e g if you are looking for a convert all reponses to a standardized output the multi switch performs multiple switch operations at the same time api definition { "tab" "examples", "url" "https //orca pathfix com/functions/text/multiswitch", "name" "multiswitch api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "pzvsyji09iheqptalonoy", "code" "{\n\t\\"output\\" {\n\t\t\\"lead source\\" \\"fb\\",\n\t\t\\"product interest\\" \\"oauth sso\\"\n\t}\n}", "language" "200" }, { "id" "jae2huvsson2qkj3ghqxb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "pzvsyji09iheqptalonoy" }, "examples" { "languages" \[ { "id" "mkhhbpypymue9piokqmlx", "code" "{\r\n\t\\"switches\\" {\r\n\t\t\\"lead source\\" {\r\n\t\t\t\\"input\\" \\"facebook\\",\r\n\t\t\t\\"switch\\" {\r\n\t\t\t\t\\"facebook\\" \\"fb\\",\r\n\t\t\t\t\\"fbook\\" \\"fb\\",\r\n\t\t\t\t\\"facebook\\" \\"fb\\",\r\n\t\t\t\t\\"facebk\\" \\"fb\\",\r\n\t\t\t\t\\"linkedin\\" \\"li\\",\r\n\t\t\t\t\\"linkedin\\" \\"li\\",\r\n\t\t\t\t\\"linkin\\" \\"li\\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\\"product interest\\" {\r\n\t\t\t\\"input\\" \\"authentication\\",\r\n\t\t\t\\"switch\\" {\r\n\t\t\t\t\\"oauth\\" \\"oauth data\\",\r\n\t\t\t\t\\"authentication\\" \\"oauth sso\\",\r\n\t\t\t\t\\"auth\\" \\"oauth sso\\",\r\n\t\t\t\t\\"automation\\" \\"atmn\\",\r\n\t\t\t\t\\"webhooks\\" \\"atmn\\"\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}", "language" "json" } ], "selectedlanguageid" "mkhhbpypymue9piokqmlx" }, "description" "call the following api to switch multiple responses with a standard output", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }