Hi folks,
I would like to create XML submissions manually. I am using the v2 API and pulling down the form via: …/api/v2/assets/formId/.
I am looking for the “formhub” uuid. For example, an Enketo generated submission looks like this:
<?xml version="1.0" ?>
<data xmlns:jr="http://openrosa.org/javarosa" xmlns:orx="http://openrosa.org/xforms" id="aasxredactedredacted" version="1 (2024-05-23 16:33:43)">
<formhub>
<uuid>cadc7c2996ae4aae97519e756ecf8029</uuid>
</formhub>
<start>2024-06-04T09:00:50.816-07:00</start>
<end>2024-06-04T09:00:50.816-07:00</end>
<Record_your_current_location/>
<New_Question/>
<__version__>vEhcDnFhfdqg7iXAqGyPeD</__version__>
<meta>
<instanceID>uuid:3a36aa9e-649a-4211-8140-c8610e965d2e</instanceID>
</meta>
</data>
How can I retrieve the formhub
uuid? Note that it is no present anywhere in the form definition.
Thanks!