web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :

Understand nature of service in D365FO using Postman

Chaitanya Golla Profile Picture Chaitanya Golla 17,225

Hi,

In this post we will view the steps to understand the nature(return type and parameters) of any service in D365FO. For demo purpose chosen getActiveDimensionsFromLedger service. 

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) Read Service Group getActiveDimensionsFromLedger.

Add Request

3426.SelectCustomers_2D00_NewRequest.jpg

Request Name

3225.SaveRequest.jpg

Step 4: Provide the command for the GET 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 inputs and parameters to invoke Service 'getActiveDimensionsFromLedger' which provides the names of different financial active dimensions.

7573.RequestName.jpg

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

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

Headers.jpg

Step 6: Click on Send button.

Send.jpg

Step 7: View the output with status as 200, where the serialized data contract provides us the dimensions and doesn't require any parameters.

3730.Output.jpg

Regards,

Chaitanya Golla

Comments

*This post is locked for comments