We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

REST Dynamic Provider - Request Length Limitation

Hi,

I have serveral Service Tables with many relation columns. I need to provide an export of all of this data and have achieved this using REST and the Dynamic Archive Provider.

My problem, is that the amount of columns I am selecting and the filter I am appying exceeds the maximum request length by at least 3 times.

The result is that I recieve a '404 No Found' error:

The only work around I have found, is to split the request into 3 sererate calls and then join the data in code.

Is there any other work around for this limitation? I.e do you have a POST version where I can specify the select and filter in the body instead perhaps?

Cheers

Rich

 

 

RE: REST Dynamic Provider - Request Length Limitation

Use the Agents API instead - this uses POST:

ArchiveAgent.GetArchiveListByColumns2

You'll get the full style response, rather than the slimmer ODATA style response.

Von: Christian Mogensen 30. Jun 2020

RE: REST Dynamic Provider - Request Length Limitation

Christian,

Brilliant, I have tested this and it works a treat!

Many thanks,

Rich

 

Von: Rich Hacker 30. Jun 2020