Add request header for pagination

We’ve set-up a D365 Dynamics Business Subscriber and selected the ‘Return a list of Purchase Orders’

Filtering the request with Query parameters is working well, but we also want to set-up the pagination

This is done via a Request Parameter:

Prefer: odata.maxpagesize=1

I thought that it was possibile to use the “odata” block in the request parameters, but unfortunately that doesn’t work …

How we do fix this ? :slight_smile:

Hi Tim,

Thank you for your patience.

Could you please confirm whether the parameter should be passed into the request headers? If so, you should create a separate HTTP client that includes the header.

Then, you can use the HTTP client in your subscriber.

Please give it a try and let us know if you have any questions.