Back

Enabling web services in Microsoft Dynamics 365 Business Central

Published: May 21, 2018
Post Author Written by Ethan Sorenson

When you integrate with Microsoft Dynamics 365 Business Central using SmartConnect, you are able to integrate with all the data in your instance that is published to web services. In Microsoft Dynamics 365 Business Central, only some of the objects are published to web services by default.  However, it is pretty easy to check which objects are currently published to web services and to publish additional objects too.  Here are the steps to access and enable new objects to be published to web services, so you can integrate with them:

 In Microsoft Dynamics 365 Business Central,

  • Click on the magnifying glass icon (the search), and then search “web services”
  • You should see this. Click on “Web Services”. 

BC webservices

  • In the View – Web Services, click “+ new”.

BC webservices5

  • Select whether you’re publishing a CodeUnit, Page or Query.

BC webservices6

  • Next, click on the Object ID, which will open the lookup for you to select which object you’d like to publish.
  • If you know the Object ID you can type it in, otherwise you can click the ellipsis(…) >> Select From Full List >> Use the search bar to find the object you are looking for.

Object Lookup

  • After selecting the object, then give that object a Service Name. 
  • The Service Name will need to be unique for the company

BC webservices7

  • Select the checkbox under the Published column for the new object.
  • Then press the Tab key until you start a new line.

BC webservices8
At this point, the web services should be enabled for your new object in Dynamics 365 Business Central.  

As a next step, in SmartConnect, you will be required to enter the Web Service URL into the connector setup window.

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.