Core APIs
JSON
Add Property to JSON
1 min
adds a property or key to an existing json object useful for creating use merge to add multiple properties to an existing object the properties can have any valid json values api definition { "tab" "examples", "url" "https //orca pathfix com/functions/json/addproperty", "name" "add property api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" {\n\t\t\\"name\\" \\"bruce\\"\n\t}\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\\"property\\" \\"name\\",\r\n\t\\"target\\" \\"bruce\\"\r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }