Dynamics 365 Business Central OData V4 Web Service Setup (Job and Job Task)

Publish Job Card and Job Task lines Web Service

This document is applicable for Dynamics 365 Business Central. Gorilla Expense sync job and job task data from Dynamics 365 using web services provided by Dynamics 365 Business Central. The first step is to create the “Job Card” and “Job Task Lines” web services in Dynamics 365. Web service setup can be accessed in Dynamics 365 searching for “Web Service”

              

Figure 1

Create a new service, by selecting Object Type as “Page”, Object Id as 88 for Job Card, service name as JobCard and make sure the “Publish” checkbox is checked and other service with object type as “Page” , object Id as 1002 for Job task lines and service name as ‘JobTaskLines’ and make sure the “Publish” checkbox is checked.

      

Figure 2

 

Make sure the new web services are called as JobCard and JobTaskLines (no spaces in between and capital sensitive letters) and published checkbox is checked as shown above.

Once the above steps are completed, copy the URL from the field called “OData V4 URL”.  And provide it to Gorilla Expense team. Repeat this on for all companies. Example OData V4 URL’s will look like mentioned below

https://api.businesscentral.dynamics.com/v2.0/59acb64d-7f3d-4920-b40e-e3567a44d24e/Sandbox/ODataV4/Company('CRONUS%20USA%2C%20Inc.')/JobCard

https://api.businesscentral.dynamics.com/v2.0/59acb64d-7f3d-4920-b40e-e3567a44d24e/Sandbox/ODataV4/Company('CRONUS%20USA%2C%20Inc.')/JobTasklines