Popular Help Content
No popular content.Page History
...
The forms can be filtered using the following parameters, which also control paging of the output records.
Name | Description | Example |
---|---|---|
xmlns | Form XML namespace (optional) For help looking up a form's XMLNS see Finding a Form's XMLNS | xmlns=http://openrosa.org/formdesigner/dd3190c7dd7e9e7d469a9705709f2f6b4e27f1d8 |
limit | The maximum number of records to return. Default: 20. Maximum: 1000 | limit=100 |
offset | The number of records to offset in the results. Default: 0. | offset=100 |
indexed_on_start | A date (and time). Will return only forms that have had data modified since the passed in date. This is the recommended field to use for pagination. | indexed_on_start=2021-01-01 (or with time 2021-01-01T06:05:42) |
indexed_on_end | A date (and time). Will return only forms that have had data modified before the passed in date. | indexed_on_end=2021-01-01 (or with time 2021-01-01T06:05:42) |
received_on_start | A date (and time). Will return only forms that were received after the passed in date. | received_on_start=2012-01-01 (or with time 2012-01-01T06:05:42) |
received_on_end | A date (and time). Will return only forms that were received before the passed in date. | received_on_end=2013-02-03 (or with time 2013-11-25T06:05:42) |
appVersion | The exact version of the CommCare application used to submit the form (this will be large and involved; it is intended for programmatic use) | appVersion=v2.6.1%20(3b8ee4-e3dc9f-unvers-2.1.0-Nokia%2FS40-native-input)%20build%207313%20App%20%237300%20b%3A2013-Jun-04%20r%3A2013-Jul-18 |
include_archived | When set to 'true' archived forms will be included in the response. | include_archived=true |
app_id | The returned records will be limited to the application defined | app_id=02bf50ab803a89ea4963799362874f0c |
indexed_on | The returned records will be ordered according to indexed_on date, starting from the oldest date | order_by=indexed_on |
server_modified_on | The returned records will be ordered according to server_modified_on date, starting from the oldest date | order_by=server_modified_on |
received_on | The returned records will be ordered according to server received_on date, starting from the oldest date | order_by=received_on |
case_id | A case UUID. Will only return forms which updated that case. | case_id=4cf7736e-2cc7-4d46-88e3-4b288b403362 |
Sample usage:
Code Block |
---|
https://www.commcarehq.org/a/[domain]/api/v0.5/form/ |
...