How do we call the REST api with json in our POST? We get errors when we try. Here's an example we tried calling QueryStartRequestFormsRequest. It works fine with xml.
Endpoint: http://hostname:7000/node/rest/CA:00074_CA:00074:01/_ops/QueryStartRequestForms
{
"QueryStartRequestFormsRequest": {
"@xmlns": "http://ns.ca.com/2011/09/pam-ops",
"Filter": {
"LookUpPath": "/GCC/SRF",
"IsRecursive": "true"
}
}
}
and we get back:
java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'QueryStartRequestFormsRequest' not found. (http:///temp.xml, 1, 73)