Skip to main content
Answer

Syntax for Metadata Discovery for Single GI Via OData - 24R1

  • September 22, 2025
  • 2 replies
  • 25 views

Forum|alt.badge.img

I’m easily able to call OData enabled generic inquiries from Postman and also make the mass metadata call for all enabled GIs.  Is there a way to pull the metadata for only a single GI?  Copilot indicates that the format is https://[YourAcumaticaInstance]/OData/[GenericInquiryName]/$metadata but that doesn’t work.  The result is a 500 internal server error with the request profiler showing “Invalid action detected. ‘$metadata’ is not an action that can bind to collection...etc.”.  If I try alternate formats including using the metadata link returned in a Postman response, I either get the full metadata catalog, a more robust response for the GI result, or a similar 500 error.  Is there some action required to allow individual metadata calls?  Thanks.

Best answer by bbohn

Upon further research, this appears to be a common requirement that isn’t supported by ODL at all.  It’s not Acumatica specific.  The format for Acumatica should be BaseURL/OData/TenantName/$metadata#GenericInquiryName, but the fragment indicator is ignored with the entire document returned.

2 replies

Forum|alt.badge.img
  • Author
  • Varsity II
  • Answer
  • September 25, 2025

Upon further research, this appears to be a common requirement that isn’t supported by ODL at all.  It’s not Acumatica specific.  The format for Acumatica should be BaseURL/OData/TenantName/$metadata#GenericInquiryName, but the fragment indicator is ignored with the entire document returned.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • September 25, 2025

Thank you for sharing your solution with the community ​@bbohn!