I'm a complete CommCare nube and wonder if anyone provide me with some
advice on retrieving data.
I would like to use the API and it would be useful to:
retrieve a list of forms
retrieve data for a specific form
retrieve data from a specific time / since last download
Is this possible through the API?
It seems that using /form returns all form data (albeit with paging)....and
I see also that you can pass in a form id. Are there any other options
here?
I notice that there are two methods of export mentioned in the
documentation:
The export API (but this has a 10Mb limit)
The commcare-export utility (we'd rather not have to use an external too)
Are these my only options?
Any additional information would be greatly appreciated.
The commcare-export tool basically does exactly what you're asking and uses
the API's to do it. You can still use the API's if you want and there is
some documentation available on the wiki: https://confluence.dimagi.com/display/commcarepublic/List+Forms
You'll note that you the 'received_on_start' and 'received_on_end'
parameters to filter the data since you last did an export.
···
On 14 September 2015 at 17:38, Alan Hill wrote:
I'm a complete CommCare nube and wonder if anyone provide me with some
advice on retrieving data.
I would like to use the API and it would be useful to:
retrieve a list of forms
retrieve data for a specific form
retrieve data from a specific time / since last download
Is this possible through the API?
It seems that using /form returns all form data (albeit with
paging)....and I see also that you can pass in a form id. Are there any
other options here?
I notice that there are two methods of export mentioned in the
documentation:
The export API (but this has a 10Mb limit)
The commcare-export utility (we'd rather not have to use an external
too)
Are these my only options?
Any additional information would be greatly appreciated.
···
On Mon, Sep 14, 2015 at 2:52 PM, Simon Kelly wrote:
Hi Alan
The commcare-export tool basically does exactly what you're asking and
uses the API's to do it. You can still use the API's if you want and there
is some documentation available on the wiki: List Forms - CommCare Public - CommCare Public
You'll note that you the 'received_on_start' and 'received_on_end'
parameters to filter the data since you last did an export.
On 14 September 2015 at 17:38, Alan Hill ahill@2paths.com wrote:
I'm a complete CommCare nube and wonder if anyone provide me with some
advice on retrieving data.
I would like to use the API and it would be useful to:
retrieve a list of forms
retrieve data for a specific form
retrieve data from a specific time / since last download
Is this possible through the API?
It seems that using /form returns all form data (albeit with
paging)....and I see also that you can pass in a form id. Are there any
other options here?
I notice that there are two methods of export mentioned in the
documentation:
The export API (but this has a 10Mb limit)
The commcare-export utility (we'd rather not have to use an external
too)
Are these my only options?
Any additional information would be greatly appreciated.