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

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to use odata web services in navision?

(0) ShareShare
ReportReport
Posted on by

Hi All,

Please guide me how to use odata services in navision.

as per my rnd its used to send data from nav to sites or bidirectional is possible.

Please suggest me and send me the reference links and videos.

Thank you

Ramesh

*This post is locked for comments

I have the same question (0)
  • Verified answer
    lynix_x Profile Picture
    259 on at
    RE: How to use odata web services in navision?

    Here are some links, that should give a good start.

    msdn.microsoft.com/.../hh166950(v=nav.90).aspx

    msdn.microsoft.com/.../hh166960(v=nav.90).aspx

  • Verified answer
    Maneesha Profile Picture
    5,891 on at
    RE: How to use odata web services in navision?

    Creating and Interacting with a Page Web Service (OData)

    OData Web Services

  • Verified answer
    Amol Salvi Profile Picture
    18,698 on at
    RE: How to use odata web services in navision?

    Check this link

    https://youtu.be/RL9ogmIoOho

  • Community Member Profile Picture
    on at
    RE: How to use odata web services in navision?

    Hi All,

    Thank you for your suggestions.

    I have below doubts

    1. is this odata services for sending nav data to out side because i seen methods(post,put or merge and delete) so get is not there so only sending right?

    2. i have published as page with all permissions say like customer to the site people can access my all customer data they can modify, insert new customers right? if they modify,insert they no need to send back again right? directly modify in my nav right?

    please suggest me.

    Thank you

    Ramesh

  • lynix_x Profile Picture
    259 on at
    RE: How to use odata web services in navision?

    It's a two way communication. The user can make CRUD  operations.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: How to use odata web services in navision?

    Hi lynix,

    Yes your right but user can perform CRUD operations through our ODATA service only right.

    Thank you

    Ramesh

  • Verified answer
    Suresh Kulla Profile Picture
    50,237 Super User 2025 Season 2 on at
    RE: How to use odata web services in navision?

    Ramesh,

    Just make it easy for you to understand, OData does what SOAP can do it is just a different protocol and architecture, when you use the webservices you can consume and do the operations you don't need to send the reponse to the caller, it depends on your design.

  • Verified answer
    Alexander Ermakov Profile Picture
    28,096 on at
    RE: How to use odata web services in navision?

    Ramesh,

    You can refer to the following links to get started:

    msdn.microsoft.com/.../hh166950(v=nav.90).aspx

    msdn.microsoft.com/.../hh166960(v=nav.90).aspx

    msdn.microsoft.com/.../hh168269(v=nav.90).aspx

    msdn.microsoft.com/.../dn135246(v=nav.70).aspx

    www.youtube.com/watch

  • Verified answer
    Colome Profile Picture
    35 on at
    RE: How to use odata web services in navision?

    Ramesh, with odata you can create and modify records as the help show us:

    https://msdn.microsoft.com/es-es/library/dn182582(v=nav.90).aspx

    this is a sample in php and guzzle that you can do it:

     $client = new GuzzleHttpClient();
     $uri=env('HTTP_URIBASE', '');
     $apiRequest = $client->request('POST', $uri.'/Customers',[
                'auth' => [env('HTTP_USERNAME', 'usuari'),env('HTTP_PASSWORD', ''), 'ntlm' ],
                 'headers' => ['Content-Type' => 'application/json', 'Accept' => 'application/json'],
                 'body'    => '{"Name":"'.$name.'", "Address":"'.$address.'"}',
                
                 'debug' => true                                  //If needed to debug   
                 ]);


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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#2
SC666 Profile Picture

SC666 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans