Thanks for your message. The features you describe are not yet planned. Could you describe in more detail what you’d like to do? Is the goal to upload XML submissions in bulk and overwrite existing submissions where the UUIDs are equal?
We’d be willing to adopt to the approach/architecture that works best for the broader community.
We would want something that could be automated, so ideally it would run over a RESTful API with submission of XML matching the format already used in KoboToolBox/
As you say, the approach would overwrite where UUID matched and the XML had the write structure.
@palmernet After discussing with @jnm and based on our recent discussion I can confirm that it is in fact already possible to do these batch updates via the API, using the endpoint http://kc.kobotoolbox.org/api/v1/submissions. This is the same endpoint used to submit new records.
As per OpenRosa, the POST request needs to specify the original UUID as well as a newly generated UUID to identify the edited version. An edit should therefore have <deprecatedID>my-old-submission-id</deprecatedID> and <instanceID>my-newly-generated-id-for-this-edit</instanceID>.
This is the method which which Enketo is used to edit submitted data in the URL. If you’re coming up with an API script that pushes back edited data into KoBoToolbox please share the script, I’m sure others will be interested in that as well.