Core APIs
JSON
Convert JSON To XML
1 min
converts a json document to xml if you have an array to be converted make sure you nest it in a named value before usage like in the example api definition { "tab" "examples", "url" "https //orca pathfix com/functions/json/toxml", "name" "json to xml", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" \\"\<root>\<record>\<email>bruce\@pathfix com\</email>\<source>facebook\</source>\<other>test\</other>\<date>2022 01 25\</date>\</record>\<record>\<email>paul\@pathfix com\</email>\<source>facebook\</source>\<date>2022 02 12\</date>\</record>\<record>\<email>chang\@pathfix com\</email>\<source>linkedin\</source>\<date>2022 02 15\</date>\</record>\</root>\\",\n \\"size in bytes\\" 581 0\n}", "language" "200" }, { "id" "yix64dyiudpjgbrfsfawb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "28usdqyeh3qrdmtvamsqt" }, "examples" { "languages" \[ { "id" "encjz9tstg38f0x taa4x", "code" "{\r\n \\"input\\" {\r\n \\"record\\" \[\r\n {\r\n \\"email\\" \\"bruce\@pathfix com\\",\r\n \\"source\\" \\"facebook\\",\r\n \\"other\\" \\"test\\",\r\n \\"date\\" \\"2022 01 25\\"\r\n },\r\n {\r\n \\"email\\" \\"paul\@pathfix com\\",\r\n \\"source\\" \\"facebook\\",\r\n \\"date\\" \\"2022 02 12\\"\r\n },\r\n {\r\n \\"email\\" \\"chang\@pathfix com\\",\r\n \\"source\\" \\"linkedin\\",\r\n \\"date\\" \\"2022 02 15\\"\r\n }\r\n ]\r\n }\r\n\r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }