I want to get form data using api's.
http://localhost:8080/ODKAggregate/view/submissionList?formId=abcd returns
me a list of uuid's like:
uuid:52af4a39-bf13-4305-b1a6-2b02d839dd7c
uuid:2e988c5b-8160-4d59-b2ee-6fe0728416bf
uuid:02c67418-8922-491d-a345-d41d223db949
uuid:4e06eb89-3f2c-4cef-b82b-38b725080c95
uuid:a3e2da91-719d-458d-bf9a-f15f4406eee7
uuid:19ff4408-0f6c-4e37-9d48-ecfb6d74b4e1
Now I want to download each submission individually using
downloadSubmission api described
here https://github.com/opendatakit/opendatakit/wiki/Briefcase-Aggregate-API
Can anybody tell what will be the exact format to call downloadSubmission?
Thanks in advance!
Hi there,
This is explained at
https://github.com/opendatakit/opendatakit/wiki/Briefcase-Aggregate-API#get-viewdownloadsubmission.
There is code that implements this in http://github.com/opendatakit/briefcase.
Also, there are also other threads on this that you can refer to
https://groups.google.com/d/msg/opendatakit/ojrYrGrJ2Xw/HtGjW6pXAgAJ.
Try those resources and report back.
Yaw
···
On Mon, Apr 24, 2017 at 1:19 AM, Sourabh Bhardwaj wrote:
>
> I want to get form data using api's.
>
> http://localhost:8080/ODKAggregate/view/submissionList?formId=abcd returns
> me a list of uuid's like:
>
> uuid:52af4a39-bf13-4305-b1a6-2b02d839dd7c
> uuid:2e988c5b-8160-4d59-b2ee-6fe0728416bf
> uuid:02c67418-8922-491d-a345-d41d223db949
> uuid:4e06eb89-3f2c-4cef-b82b-38b725080c95
> uuid:a3e2da91-719d-458d-bf9a-f15f4406eee7
> uuid:19ff4408-0f6c-4e37-9d48-ecfb6d74b4e1
>
> Now I want to download each submission individually using downloadSubmission
> api described here
> https://github.com/opendatakit/opendatakit/wiki/Briefcase-Aggregate-API
>
> Can anybody tell what will be the exact format to call downloadSubmission?
>
> Thanks in advance!
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "ODK Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to opendatakit-developers+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
try this:
http://localhost:8080/ODKAggregate/view/downloadSubmission?formId=abcd[@version=null]/data[@key=uuid:52af4a39-bf13-4305-b1a6-2b02d839dd7c]
···
On Monday, April 24, 2017 at 8:19:16 PM UTC+12, Sourabh Bhardwaj wrote:
> I want to get form data using api's.
>
>
> http://localhost:8080/ODKAggregate/view/submissionList?formId=abcd returns me a list of uuid's like:
>
>
>
>
> uuid:52af4a39-bf13-4305-b1a6-2b02d839dd7c
> uuid:2e988c5b-8160-4d59-b2ee-6fe0728416bf
> uuid:02c67418-8922-491d-a345-d41d223db949
> uuid:4e06eb89-3f2c-4cef-b82b-38b725080c95
> uuid:a3e2da91-719d-458d-bf9a-f15f4406eee7
> uuid:19ff4408-0f6c-4e37-9d48-ecfb6d74b4e1
>
>
> Now I want to download each submission individually using downloadSubmission api described here https://github.com/opendatakit/opendatakit/wiki/Briefcase-Aggregate-API
>
>
> Can anybody tell what will be the exact format to call downloadSubmission?