Core APIs
List
Compare Two Lists (Text List and JSON)
1 min
compares two lists and returns matched or unmatched values the input key instruction will only be evaluated if the "input" list type is a list of json objects comparison rule supported can be "equals" or "not equals" api definition { "tab" "examples", "url" "https //orca pathfix com/functions/list/compare", "name" "compare two lists", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" \[\n \\"janet\@pathfix com\\"\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\\"ron\@pathfix com\\",\r\n\t\t\\"janet\@pathfix com\\"\r\n\t],\r\n\t\\"search input\\" \[{\r\n\t\t\\"user email\\" \\"ron\@pathfix com\\"\r\n\t}],\r\n\t\\"comparison rule\\" \\"not equals\\",\r\n\t\\"comparison search key\\" \\"user email\\",\r\n\t\\"input key\\" \\"\\"\r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }