Microsoft Dynamics 365
Microsoft Dynamics 365 Business Central
Last updated
Was this helpful?
Microsoft Dynamics 365 Business Central
Last updated
Was this helpful?
There are three ways to connect to web services: API, SOAP, and OData
By default, Locoia's connector connects to the regular Microsoft Dynamics 365 Business Central API.
To authenticate, your users need to have the correct level of access. You may need to request an additional access level from your system admin.
To get to the OData settings, click on the search icon in the upper left corner and type web services
and click on the > Web Services
:
To get the Username and Password for the OData services, go to Users, select a user and get the key from Web Service Access Key
. The Username corresponds to the user's name.
E.g. to add a new oData service for Sales Line Item Discounts,
go to the corresponding view in Business Central
get the page id from the URL as per the image below
Go to the web service view
Click New
As Object Type, select page
Click in the Object ID field and then a window pops up
Select in the bottom right of the window Select from full list, and the window enlarges
In the newly enlarged window, click the search icon, type the page ID, e.g. 7004
The Sales Line Item Discounts show up. Select it
Give the service a name without spaces
Make the final selections and you are done
The page and its objects are now available as OData service.