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

Community site session details

Session Id :

Read Top rows from D365FO using PostMan

Chaitanya Golla Profile Picture Chaitanya Golla 17,225

Hi,

In this post we will view the steps to read top rows from a given entity in D365FO. For demo purpose, I have chosen CustomerV2 entity.

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: Retrieve the Odata URL for customer entity. In my case it is https://D365FO URL/data/CustomersV2.

Step 4: Launch Postman, select the Devbox collection and click on three dots. Select Add Request and provide name (say) Read Top 10 Customers.

Add Request

6648.SelectCustomers_2D00_NewRequest.jpg

Request Name

1185.RequestName.jpg

Step 5: Provide the command for the GET Request with URL as {{resource}}/data/CustomersV2?$top=10 where resource is the D365FO URL provided in the environment section.

Here under parameters section, used query option $top and supplied the value as 10. 

0537.GetRequest.jpg

Step 6: Under Headers group, created new entries for

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

Step 7: Click on Send button to view the output with the status as 200 OK.

0246.Output.jpg

Regards,

Chaitanya Golla

Comments

*This post is locked for comments