# Paging in GET /v1/op/jobs/dispatching-jobs/{jobId}/processing-jobs doesn't work

**URL:** <https://visier.discourse.group/t/paging-in-get-v1-op-jobs-dispatching-jobs-jobid-processing-jobs-doesnt-work/255>\
**Category:** APIs & Connectors\
**Created:** [May 7, 2024, 11:58am UTC](https://visier.discourse.group/t/paging-in-get-v1-op-jobs-dispatching-jobs-jobid-processing-jobs-doesnt-work/255 "2024-05-07T11:58:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![b.zafirov](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@b.zafirov](https://visier.discourse.group/u/b.zafirov)\
**Post date:** [May 7, 2024, 11:58am UTC](https://visier.discourse.group/t/paging-in-get-v1-op-jobs-dispatching-jobs-jobid-processing-jobs-doesnt-work/255/1 "2024-05-07T11:58:27Z")

</div>

Dear Visier developer community,

As specified in the Data and Job Handling API in order to get the status for the processing jobs (for a dispatching job), one can call the endpoint `GET /v1/op/jobs/dispatching-jobs/{jobId}/processing-jobs`. When we call the endpoint by setting the `start` query parameter to a value higher than zero, we get an empty list for the field `processingJobs`.

For example when we execute the following request:

`GET v1/op/jobs/dispatching-jobs/<VALID-DISPATCHING-JOB-ID>/processing-jobs?limit=50&start=1`

we get the following response:

```json
{
	"parentJobId": "<VALID-DISPATCHING-JOB-ID>",
	"parentTenantCode": "<VALID-ADMINISTRATIVE-TENANT-CODE>",
	"limit": 50,
	"start": 1,
	"processingJobs": []
}

```

When we call the endpoint by setting the `start` parameter to `0` and the `limit `parameter to `200`, we only get `100` processing jobs, although the dispatching job contains (via the extraction jobs) more than 1000 processing jobs.

Are we setting query parameters wrongly or is the API somehow not respecting the values for the `start` & `limit` parameters.

Best regards

---

<div class="post-metadata">

**Author:** ![henrik.areskoug](https://avatars.discourse-cdn.com/v4/letter/h/85f322/32.png) [@henrik.areskoug](https://visier.discourse.group/u/henrik.areskoug)\
**Post date:** [May 9, 2024, 12:22am UTC](https://visier.discourse.group/t/paging-in-get-v1-op-jobs-dispatching-jobs-jobid-processing-jobs-doesnt-work/255/2 "2024-05-09T00:22:24Z")

</div>

Hello @b.zafirov ,  
Thanks for logging this. I’ve forwarded these details to the appropriate dev lead to look into.

Thanks,  
/Henrik

---

<div class="post-metadata">

**Author:** ![b.zafirov](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@b.zafirov](https://visier.discourse.group/u/b.zafirov)\
**Post date:** [May 27, 2024, 9:03am UTC](https://visier.discourse.group/t/paging-in-get-v1-op-jobs-dispatching-jobs-jobid-processing-jobs-doesnt-work/255/3 "2024-05-27T09:03:05Z")

</div>

Hello @henrik.areskoug,

What’s the status of this issue? Could you give us an ETA on this, as this endpoint is a blocker for us?

Best regards

---

<div class="post-metadata">

**Author:** ![henrik.areskoug](https://avatars.discourse-cdn.com/v4/letter/h/85f322/32.png) [@henrik.areskoug](https://visier.discourse.group/u/henrik.areskoug)\
**Post date:** [May 28, 2024, 3:46pm UTC](https://visier.discourse.group/t/paging-in-get-v1-op-jobs-dispatching-jobs-jobid-processing-jobs-doesnt-work/255/4 "2024-05-28T15:46:59Z")

</div>

Hello @b.zafirov ,  
We are actively looking at this and are targeting the June 5th patch.  
Thanks,  
/Henrik
