Skip to main content
Solved

RESTAPI - OData metadata for entities

  • December 31, 2023
  • 4 replies
  • 302 views

Hi

As mentioned in https://help.acumatica.com/(W(5))/Help?ScreenId=ShowWiki&pageid=c5e2f36a-0971-4b33-b127-3c3fe14106ff

its possible to operate with odata uri conventions when querying entities (predefined or customized as well).

however no odata metadata is available for all entities, which make it impossible to work with .Net OData clients packages, and require to build the HttpRequest parameters by myself.

Am I correctly understand this, or there is a convenient way to do so ? (I do not want to define a GI for all entities I need)

Thanks

Best answer by Dmitrii Naumov

yoavcitron wrote:

 

I see, however metadata won’t include my extended endpoints if I am not wrong, correct ? 

If you are talking about the Web Service Endpoints, these are a completely different thing. Those are for Acumatica REST API and it does not work with OData.

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

4 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 648 replies
  • January 2, 2024

@yoavcitron I think Odata v4 is what you are looking for:

https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=642945d9-df36-429b-8784-0f1bcf0e5495

 

It allows you to query the data without a need to predefine Inquiries in the ERP.


  • Author
  • Freshman II
  • 6 replies
  • January 3, 2024
Dmitrii Naumov wrote:

@yoavcitron I think Odata v4 is what you are looking for:

https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=642945d9-df36-429b-8784-0f1bcf0e5495

 

It allows you to query the data without a need to predefine Inquiries in the ERP.

Thanks,

I see, however metadata won’t include my extended endpoints if I am not wrong, correct ? 


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 648 replies
  • Answer
  • January 3, 2024
yoavcitron wrote:

 

I see, however metadata won’t include my extended endpoints if I am not wrong, correct ? 

If you are talking about the Web Service Endpoints, these are a completely different thing. Those are for Acumatica REST API and it does not work with OData.


  • Author
  • Freshman II
  • 6 replies
  • January 4, 2024

Thanks Dmitrii

I thought that if its support odata uri conventions as noted in REST API documentation (see my original post) it might also support odata metadata querying. 

Anyway, that fine. 👍🏻

Thanks a lot.

 


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