Filtering api form since received_on

Hi,

I’m getting several forms when searching by api/v0.5/form. Some have the
property e.g. “received_on”: “2017-07-29T15:47:05.553553Z” included.

When i try to filter the forms by received_on later or equal than this
value, i get no forms at all.

i tried the following:

/api/v0.5/form?received_on-start=2017-07-29
/api/v0.5/form?received_on-start=2017-07-29&received_on-end=2017-07-30
/api/v0.5/form?received_on-start=2017-07-29T15:47:05.553553Z
&received_on-end=2017-07-29T15:47:05.553553Z

Can somebody help please?

Hi Salim

Your URL param should be ‘received_on_start’.

Simon Kelly
Director of Server Engineer | Dimagi

··· On 19 September 2017 at 12:30, 'Selim' via commcare-users < commcare-users@googlegroups.com> wrote:

Hi,

I’m getting several forms when searching by api/v0.5/form. Some have the
property e.g. “received_on”: “2017-07-29T15:47:05.553553Z” included.

When i try to filter the forms by received_on later or equal than this
value, i get no forms at all.

i tried the following:

/api/v0.5/form?received_on-start=2017-07-29
/api/v0.5/form?received_on-start=2017-07-29&received_on-end=2017-07-30
/api/v0.5/form?received_on-start=2017-07-29T15:47:05.553553Z
&received_on-end=2017-07-29T15:47:05.553553Z

Can somebody help please?


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Simon,

thanks this worked.

··· Am Dienstag, 19. September 2017 17:39:42 UTC+3 schrieb skelly: > > Hi Salim > > Your URL param should be 'received_on_start'. > > Simon Kelly > Director of Server Engineer | Dimagi > > On 19 September 2017 at 12:30, 'Selim' via commcare-users < commcar...@googlegroups.com > wrote: > >> Hi, >> >> I'm getting several forms when searching by api/v0.5/form. Some have the >> property e.g. "received_on": "2017-07-29T15:47:05.553553Z" included. >> >> When i try to filter the forms by received_on later or equal than this >> value, i get no forms at all. >> >> i tried the following: >> >> /api/v0.5/form?received_on-start=2017-07-29 >> /api/v0.5/form?received_on-start=2017-07-29&received_on-end=2017-07-30 >> /api/v0.5/form?received_on-start=2017-07-29T15:47:05.553553Z >> &received_on-end=2017-07-29T15:47:05.553553Z >> >> Can somebody help please? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >

Great

Simon Kelly
Director of Server Engineer | Dimagi

··· On 20 September 2017 at 17:34, 'Selim' via commcare-users < commcare-users@googlegroups.com> wrote:

Hi Simon,

thanks this worked.

Am Dienstag, 19. September 2017 17:39:42 UTC+3 schrieb skelly:

Hi Salim

Your URL param should be ‘received_on_start’.

Simon Kelly
Director of Server Engineer | Dimagi

On 19 September 2017 at 12:30, ‘Selim’ via commcare-users < commcar...@googlegroups.com> wrote:

Hi,

I’m getting several forms when searching by api/v0.5/form. Some have
the property e.g. “received_on”: “2017-07-29T15:47:05.553553Z” included.

When i try to filter the forms by received_on later or equal than this
value, i get no forms at all.

i tried the following:

/api/v0.5/form?received_on-start=2017-07-29
/api/v0.5/form?received_on-start=2017-07-29&received_on-end=2017-07-30
/api/v0.5/form?received_on-start=2017-07-29T15:47:05.553553Z
&received_on-end=2017-07-29T15:47:05.553553Z

Can somebody help please?


You received this message because you are subscribed to the Google
Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.