Skip to main content

Notifications

Announcements

No record found.

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

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,094 on at
    RE: Implement a WEB API for sincronize data from app on IPAD and Dynamics NAV2013/R2, NAV2016 and AX

    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

  • Suggested answer
    Rabin Profile Picture
    2,976 on at
    RE: Implement a WEB API for sincronize data from app on IPAD and Dynamics NAV2013/R2, NAV2016 and AX

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

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
EH-09052238-0 Profile Picture

EH-09052238-0 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 1

Featured topics

Product updates

Dynamics 365 release plans