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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Implement a WEB API for sincronize data from app on IPAD and Dynamics NAV2013/R2, NAV2016 and AX

(0) ShareShare
ReportReport
Posted on by

Hello,

I'm developing a WEB API for sincronize an APP with NAV2013/R2 and NAV2016; I chose the protocol ODATA when I startd this project published a page 18 Customer like ODATA Service.

My question are :smile:

1) When I'm going to publisher a new record or I'm going to update a record using ODATA protocol by web service, the evaluation control, the trigger before insert/update value, etc will be it execute?

2) Have you never used ODATA to exchange data with an APP or other system device? Have you found some limit?

3) Is a possible to call a codeunit using ODATA protocol, passing IT a JSON like BigText?

thanks in advance

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rabin Profile Picture
    2,976 on at

    Hi

    1. Yes the Trigger will be executed...

    2.  In NAV 2013 there is only read access using ODATA, no write access. With NAV 2015 ODATA has all the Features(CRUD)... So if you are working on older version then there might be some limitations and you might would like to stick with SOAP which is slower...

    3. It is not currently possible to access codeunits with OData web services.

    You can use ODATA to Read and SOAP to Write...

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    1) Yes

    2) OData is less suited for applications that are primarily RPC-oriented or in which data operations are constrained to certain prescribed patterns. Refer to Known Limitations: msdn.microsoft.com/.../hh166950(v=nav.90).aspx

    3) Unfortunately, no. It is not currently possible to access codeunits with OData web services: msdn.microsoft.com/.../hh168269(v=nav.90).aspx

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 July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans