Hello Team,
To integrate Customers from Microsoft Navision we use the following endpoint: host:port/ DynamicsNAV110/api/beta/companies(.....)/customers
But, Navision doesn't return the Customer status. How to receive the Customer status?
Hello Team,
To integrate Customers from Microsoft Navision we use the following endpoint: host:port/ DynamicsNAV110/api/beta/companies(.....)/customers
But, Navision doesn't return the Customer status. How to receive the Customer status?
Hi, as Lars suggest, you should create a new page, and publish it to web service.
But for NAV2018, you need development licence and object range. Therefore, it is recommended that you test with a partner who has a development license.
Hope this will help.
Thanks.
ZHU
Hello Lars,
Thank you for the information.
I have researched the Microsoft Dynamics NAV Development Environment.
Also, I tried to create the Codeunit web service using Object Designer.
But, as I understood this approach should comply with the following rules:
- The Customer should have the DEV Licence to work with the Object Designer
- The Customer should have special roles in the Licence to create Codeunits
Currently, for the research, I use the demo version of Navision 2018. The demo version doesn't include roles to create Codeunits. So, I cannot check how it works.
So, if the Customer will not have the necessary license, I cannot integrate my app with his Navision account.
Is it correct?
Hello,
You can suggest modifications to our API, which happens in an open way here: github.com/.../ALAppExtensions . However this will be for newest version, and not backported to NAV2018. For NAV2018 you can make your own web services, either with API, or in a more simple way create a page, then expose it as a web service and call that via odata.
There is a good starting point here docs.microsoft.com/.../web-service-walkthroughs . I would first to the method which is: Create a new list page with the fields you need, then go to "Web Services" and expose your new page, which will give you an OData link.
For future versions, API is the way, and the syntax may vary a bit. One good starting point for that is here community.dynamics.com/.../how-to-create-custom-api-page-in-dynamic-365-business-central-v15-cloud . But I cannot guarantee that all api features work well with NAV2018.
But in short: Create a new page, then expose it as a web serivce, gives you OData and SOAP in a very few steps, so that would be my suggestion to begin with.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156