web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP2016 OData Stored Procedures

(0) ShareShare
ReportReport
Posted on by 106

Does anyone know how/if you can pass parameters to a custom published storedProcedure over OData?

Iv'e tried various OData syntax's and keep getting a 400 error

Such as: (@P1 is the Sproc Parameter)

/_ODataTest(@P1='Test')

/_ODataTest(P1='Test')

_ODataTest?$filter=P1 eq 'Test'

/_ODataTest?$P1='Test'

/_ODataTest?$@P1='Test'

I tested and confirmed the the $filter works when running a view, so the OData service does accept URL parameters, just need to figure out what the format is for stored procedures.

Thanks!

*This post is locked for comments

  • Neal Santin Profile Picture
    106 on at

    Update: Response from Microsoft, this isn't supported at this time.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans