REST API job - duedate format - documentation wrong?

Morning.

when I copy the query from Get Jobs | docs.camunda.org

 /job/count?dueDates=gt_2012-07-17T17:00:00.000+0200,lt_2012-07-17T18:00:00.000+0200

I get:

{
  "type": "InvalidRequestException",
  "message": "Invalid due date format: Cannot convert value \"2012-07-17T17:00:00.000 0200\" to java type java.util.Date"
}

What is the correct REST syntax to query for overdue jobs?

Jan

Hi @jangalinski,

Plus sign used to represent a space in the query string whereas in this case plus sign is needed as is (represents time zone) so try to replace plus sign with %2B

1 Like

Can confirm that using:

    /job/count?dueDates=gt_2012-07-17T17:00:00.000%2B0200,lt_2012-07-17T18:00:00.000%2B0200

works.

1 Like