Postman is an API platform for developers to design, build, test, and iterate their APIs.
In this article, will explain about retrieving the particular Account’s Table record based on accountid 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.
Step 2
Click on Rename to change the Web API Request name.
Renamed to Retrieve Account record.
Step 3
Select GET Http Verb and provide the below text to get the Account record based on Account GUID with Name and Account Number.
{{webapiurl}}accounts(
<accountid>)?$select=name,accountnumber
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 likes the below.
Step 5
Click on Save and Send.
You can see a message 200 OK, which means the request executed successfully and can see the required Account record in the Body section in JSON format.
Note: If you see 401 Unauthorized access issue on Send, then follow the below article and fix the problem and try again.
How to resolve 401 Unauthorized access issue in Postman while connecting to Dataverse?
Hope you have followed all the steps and retrieved the particular Account record in Postman.
Like and share your valuable feedback on this article.