Skip to main content
Solved

RESTAPI - OData metadata for entities

  • Dec 31, 2023 12:25 PM UTC
  • 4 replies
  • 507 views
  • Translate All

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

 

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

4 replies

Dmitrii Naumov
Community Manager
Forum|alt.badge.img+7

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

Translate

  • Author
  • Freshman II
  • Jan 3, 2024 1:09 PM UTC

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

Translate

Dmitrii Naumov
Community Manager
Forum|alt.badge.img+7
  • Community Manager
  • Answer
  • Jan 3, 2024 3:38 PM UTC

 

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.

Translate

  • Author
  • Freshman II
  • Jan 4, 2024 6:15 AM UTC

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.

 

Translate