Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Invoke service from D365FO using Postman

Hi,

In this post we will view the steps to invoke the getActiveDimensionsFromLedger service to view the active dimensions in D365FO. 

Step 1: Register D365FO in Azure Platform. Please refer to previous post to view the steps for App registration.

 Application registration of D365FO with Azure 

Step 2: Setup Postman with D365FO. Note: Used environment variables to setup bearer token and authorization in this post.

 Postman Set up with D365FO 

Step 3: Launch Postman, select the Devbox collection and click on three dots. Select Add Request and provide name (say) Fire Service Request getActiveDimensionsFromLedger

Add Request

4520.SelectCustomers_2D00_NewRequest.jpg

Request Name

17174.RequestName.jpg

Step 4: Provide the command for the POST Request with URL as 

{{resource}}/api/services/FinancialDimensionServices/DimensionService/getActiveDimensionsFromLedger

where resource is the D365FO URL provided in the environment section. With this request we can know the names of different financial active dimensions.

Request.jpg

Step 5: Create two entries under Header section and provide values for Authorization and Content-Type.

Authorization bearer{{bearerToken}}
Content-Type application/json

3580.Headers.jpg

Step 6: Click on Send button.

2110.Send.jpg

Step 7: View the output with status as 200 with the active dimension names.

5280.Output.jpg

Regards,

Chaitanya Golla

Comments

*This post is locked for comments