Consuming Dynamics AX 365FO Data entities using Web API (Part 1)

Object is to read data from Dynamics ax 365FO data entities using Web Api project.

This is first part of the blog series on consuming Data entities using Web api, in this blog i will be covering the configuration part of the projects

Step 1: Download Dynamics ax integration sample project from GITHUB
https://github.com/Microsoft/Dynamics-AX-Integration/tree/master/ServiceSamples

 

Extract the project, you will see different samples.

Step 2: We will copy two projects AuthenticationUtility and ODataUtility and move to the new web api project we are going to create.

 

New project structure will look like this.

 

We also need to add the reference of dll of two projects  AuthenticationUtility and ODataUtility to our new projects.

There is a class ClientConfiguration in AuthenticationUtility project that is required a configuration change and requires to set following attribute from your Azure subscription.

UriString, UserName, Password, ActiveDirectoryResource, ActiveDirectoryTenant, ActiveDirectoryClientAppId, ActiveDirectoryClientAppSecret

In the next blogs i will be covering

  1. How to setup web api project app on Azure and what are we needed to setup the app in Azure.
  2. I will be covering code side also on which i will demonstrate how we can consume OData entity.

Thanks
Amir (Happy Daxing)

Advertisements

7 Responses to Consuming Dynamics AX 365FO Data entities using Web API (Part 1)

  1. Pingback: Consuming Dynamics AX 365FO Data entities using Web API (Part 2) | Amir's Microsoft Dynamics AX space

  2. Pingback: Amir's Microsoft Dynamics Ax Space

  3. Pingback: Consuming Dynamics AX 365FO Data entities using Web API (Part 3) | Amir's Microsoft Dynamics AX space

  4. Pingback: Amir's Microsoft Dynamics Ax Space

  5. Pingback: 使用Web API消费Dynamics AX 365FO数据实体(第3部分)/ Consuming Dynamics AX 365FO Data entities using Web API (Part 3) – ww12345678 的部落格 | AX Helper

  6. Pingback: Payable Bot Dynamics ax 365 | Amir's Microsoft Dynamics AX space

  7. Pingback: Amir's Microsoft Dynamics Ax Space

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: