Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding submission filter to pullcsv #1

Open
Aworwui opened this issue Jan 22, 2022 · 2 comments
Open

Adding submission filter to pullcsv #1

Aworwui opened this issue Jan 22, 2022 · 2 comments

Comments

@Aworwui
Copy link

Aworwui commented Jan 22, 2022

Hi
Kindly wish to suggest adding the filter part of the ODK Central API to the pullcsv to select the submission to download.
Any suggestion on how I can add this option

@jkpr
Copy link
Contributor

jkpr commented Jan 24, 2022

You would like to download a specific submission? Try this command: https://github.com/pmaengineering/centralpy#subcommand-download-attachments

You want the XML submission, not the attachments though, right? But the process should be done in a similar way?

@Aworwui
Copy link
Author

Aworwui commented Jan 24, 2022

Thanks,
However, download-attachment need the instance-id. My issue is the export submissions created within a given date range.
e.g. submissions created every month or from the last export
example of the filer is
?%24filter=(__system/submissionDate gt or __system/updatedAt gt ) and __system/reviewState="Approved"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants