-
Task
-
Resolution: Fixed
-
L3 - Default
-
7.13.0
-
None
The following documentation:
- https://docs.camunda.org/manual/7.14/reference/rest/job/post-query/
- https://docs.camunda.org/manual/7.14/reference/rest/job/post-query-count/
Describes how the "jobIds" and "processInstanceIds" are both "comma-separated lists". That is incorrect. They are both arrays of strings. If you pass a string with comma separated ids ("id1,id2,id3...") then engine return an error.
The same documentation also has attribute "tenantIdIn" which is also described as comma-separated. I have not tested if that has the same issue as the other ones.
I have tested the queries on a Camunda 7.13 engine, but the API documentation is the same for both 7.13 and 7.14 - so I am assuming that a Camunda 7.14 engine behaves the same way.
Hi mimaom,
Thank you for reporting this.
I could confirm that the description of the fields ("jobIds", "processInstanceIds", "dueDates", "createTimes","tenantIdIn") is incorrect. The correct request body is:
Would you like to raise and pull request to make adjustments in the endpoints documentation?
Best regards,
Yana