Skip to main content
Solved

OData V4 POST support?


Forum|alt.badge.img

Hi There,

I have a query which for various reasons has quite a long filter parameter passed in the URL - in fact it exceeds the maximum length for a URL (which is something like a 1000 chars).

It seems to be the idea that going forward you should be able to pass this in the body of a POST request (getting around the length limitation) and postfixing the URL with /$query

As per Passing OData query options in request body - OData | Microsoft Learn

However - when I do this with Acumatica - I get a “Method Not Allowed” error which smells of - this hasn’t yet been implemented?

Is this correct? And if so - are there plans to do so?

Many thanks,

Daniel Graham

Best answer by Dmitrii Naumov

@dannygraham Correct, this is not implemented in Acumatica OData. 

There are no plans currently. You can post an idea here https://community.acumatica.com/ideas to facilitate the development. 

View original
Did this topic help you find an answer to your question?

3 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 632 replies
  • Answer
  • July 5, 2024

@dannygraham Correct, this is not implemented in Acumatica OData. 

There are no plans currently. You can post an idea here https://community.acumatica.com/ideas to facilitate the development. 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 10 replies
  • July 7, 2024

Thanks for the information - even when something isn’t available, it’s nice to know you’re not simply getting the query wrong.

Unfortunately - I don’t have rights to post in that location. I don’t suppose you’d be able to do so for me?

I would have thought that codewise it would be pretty straight forward - and the utility is kind of obvious.

Many thanks,

Daniel Graham

 


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 632 replies
  • July 9, 2024

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings