Solved

RESTAPI - OData metadata for entities

  • 31 December 2023
  • 4 replies
  • 91 views

Userlevel 1

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

icon

Best answer by Dmitrii Naumov 3 January 2024, 16:38

View original

4 replies

Userlevel 7
Badge +5

@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.

Userlevel 1

@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 ? 

Userlevel 7
Badge +5

 

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.

Userlevel 1

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


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved