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.
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
Request Name
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.
Step 5: Create two entries under Header section and provide values for Authorization and Content-Type.
| Authorization | bearer{{bearerToken}} |
| Content-Type | application/json |
Step 6: Click on Send button.
Step 7: View the output with status as 200, where the serialized data contract provides us the dimensions and doesn't require any parameters.
Regards,
Chaitanya Golla

Like
Report
*This post is locked for comments