Setup Postman To Call D365 FO Data Entities

Setup Postman To Call D365 FO Data Entities


Assuming you are composing a reconciliation into D365 you probably will need to arrange for Postman to call D365 information elements. This will permit you to test the information elements and see what information your getting application will recover without holding on to request that the getting application settles on the decision.

For creating a connection b/w postman and D365 FO we need to do the following steps:

Make Get Token Request In Postman

For Authorization, we need tokens for which we need the following Ids:

  • Client Id
  • Secret Key
  • Directory Id (tenant)
  • URL

Open Postman and create HTTP Request.

No alt text provided for this image
No alt text provided for this image

For Authentication/token you need to hit with post request to this URL: https://login.microsoftonline.com/<TenantId>/oauth2/v2.0/token

With the following parameters in the body:

client_Id

(The client_Id ought to be the Client ID found in Azure Portal).

client_Secret?

(The client_Secret ought to be the Client ID found in Azure Portal)

Grant_type ? ?

(client_credentials)

Scope? ? ? ? ? ?

(https://<D365 URL>/.default)

No alt text provided for this image

You can see it returns the token which will help you to authenticate with D365 FO.

Now Put the <BaseUrl>/data/<Entity name> in the Request URL section. And create a GET request.

With the token you get:

No alt text provided for this image

On the Authorization tab, select the bearer token and paste your token into the token field. And send the request and you will get the data in JSON format.

No alt text provided for this image




要查看或添加评论,请登录

Saim Siddiqui的更多文章

  • Add Lookup to Batch Job Dialog

    Add Lookup to Batch Job Dialog

    For creating batch job parameters create a contract class that contains a reference to the UI builder. […

  • Create Custom Services x++

    Create Custom Services x++

    In this article, we will create Rest and Soap for both the services for SalesOrder. For Service creation, we need the…

    5 条评论
  • D365 FO- Upload utility using x++

    D365 FO- Upload utility using x++

    This topic will provide information about file upload and template generation by using x++. For template and file…

  • Register Number Sequence on EDT

    Register Number Sequence on EDT

    You have seen, when you create a Customer/Sales Order the AccountNum/SalesId has a number sequence on the enum of the…

  • D365 FO- Jump reference x++

    D365 FO- Jump reference x++

    If you want to jump from FormControl, to another Form you can use the jumpRef approach. Scenario: There is a custom…

    3 条评论
  • Sending emails/notification from D365 FO X++

    Sending emails/notification from D365 FO X++

    Suppose there is a scenario where you need to notify someone via email then this approach can be useful to get the…

  • D365 Finance and Operations-COC

    D365 Finance and Operations-COC

    There are many numbers of objects that exist on D365 FO that can use a chain of command (COC). So, I am listing some of…

    4 条评论

社区洞察

其他会员也浏览了