I am trying to use the Submission API, ultimately, to update a case by submitting a form with new data. However, at the moment, I can’t see any of my submissions I pushed through the API.
I am sending the post with:
curl -F "email@example.com" "https://www.commcarehq.org/a/PROJECT/receiver/" -u firstname.lastname@example.org
Upon completion, I get the success message:
<OpenRosaResponse xmlns="http://openrosa.org/http/response"><message nature="submit_success"> √ </message></OpenRosaResponse>
This form has one field called
mresult and I set the value in the xml file such as:
<mresult value="test" />
The rest of the XML contents I copied from the “Edit Form’s Source XML” window.
However, when I run reports on this form (data reports), I see zero submissions for this form.
What am I doing wrong?