Dynamics 365 MEM Business Central ODATA V4 Web Service Setup (General Journal)

Publish General Journal Web Service

This document is applicable for Dynamics 365 MEM Business Central. Gorilla Expense integrates with Dynamics 365 MEM using web services provided by Dynamics 365 MEM Business Central. The first step is to create the “MEMJournalLineAPI” web service in Dynamics 365. Web services setup can be accessed in Dynamics 365 MEM searching for “Web Service”.

 

Figure 1

Create the new services, by selecting Object Type as “Page”, Object Id as 70211035 for MEM Journal Line, service name as MEMJournalLineAPI. Make sure the “Publish” checkbox is checked for both.

 

Figure 2

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

Once the above steps are completed, copy the MEMJournalLineAPI  URL from the field called “OData V4 URL”.  And provide it to Gorilla Expense team. Example OData V4 URL will look like mentioned below.

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

Publish Attachments Web Service

This document is applicable for Dynamics 365 MEM Business Central. Gorilla Expense integrates with Dynamics 365 MEM using web services provided by Dynamics 365 MEM Business Central. The first step is to create the “Attachments” web service in Dynamics 365 MEM. Web service setup can be accessed in Dynamics 365 MEM searching for “Web Service”.

 

             

Figure 1

Create a new service, by selecting Object Type as “Page”, Object Id as 20039 for attachments, service name as Attachments and make sure the “Publish” checkbox is checked.

                     

Figure 2

Make sure the new web service is called Attachments and the published checkbox is checked as shown

below –

Publish workflow General Journal Lines Web Service

The first step is to create the “workflow General Journal Lines” web service in Dynamics 365. Web service setup can be accessed in Dynamics 365 searching for “Web Service”.

Figure 3

 

Create a new service, by selecting Object Type as “Page”, Object Id as 6407 for workflow General Journal Lines name as workflowGenJournalLines and make sure the “Publish” checkbox is checked.

 

Figure 4

Make sure the new web service is called workflowGenJournalLines (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. Example OData V4 URL will look like mentioned below

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