How To Retrieve Records From The Dataverse Environment In Postman

setup and connect to the Dataverse environment in Postman

Postman is an API platform for developers to design, build, test, and iterate their APIs.

In this article, will explain about retrieving Account’s Table records from the Dataverse environment in Postman.

Pre-requisite

Follow all the steps mentioned in the article mentioned above and then follow the below steps.

Step 1 

Click on the Collection … and Click on Add request to create a new Web API Request.

How to retrieve records from the Dataverse environment in Postman?

Step 2 

Click on Rename to change the Web API Request name.

How to retrieve records from the Dataverse environment in Postman?

Renamed to Retrieve Account records.

How to retrieve records from the Dataverse environment in Postman?

Step 3 

Select GET Http Verb and provide the below text to get the Top 5 Account records with Name and Account Number.

{{webapiurl}}accounts?$select=name,accountnumber&$top=5

How to retrieve records from the Dataverse environment in Postman?

Note: Params will be populated automatically.

Step 4 

Provide the below values under Headers section.

If-None-Match null
OData-Version 4.0
OData-MaxVersion 4.0
Content-Type application/json
Accept application/json

Headers will look like below.

How to retrieve records from the Dataverse environment in Postman?

Step 5

Click on Save and Send.

How to retrieve records from the Dataverse environment in Postman?

You can see a message 200 OK, which means the request executed successfully and can see the account records in the Body section in JSON format.

How to retrieve records from the Dataverse environment in Postman?

Hope you have followed all the steps and retrieved the Account records.

Like and share your valuable feedback on this article.


Similar Articles