Microsoft dynamics AX - how to create legal entity using rest api - axapta

I am using the AX 2012 R2 version.
I have read some forums and blogs related to Microsoft Dynamics AX, I haven't found any help, but I know someone maybe has already done it.
So I am trying to figure out how to create a legal entity in Microsoft Dynamics AX(2012 R2) using REST API. Are there any REST APIs available that can allow me to put my data into AX to create a legal entity?
Why do I want to do this?
As we are building a CRM tool where a user can set up his details using forms and that will be submitted to our system. Our system will trigger the API that can create all the necessary things that we need to do in AX manually. In short, I am trying to automate the AX process from our system.
Any help will be appreciated!
Thanks.

You can automate any manual process in AX and then expose it as a SOAP-based custom service. To call the service from the Internet, you would have to publish it through IIS.
If you needed a JSON-based service, you could create a Logic App with the "When HTTP request is received" trigger and use your exposed AX service from there via HTTP action.

Related

Microsoft workdflow custom connector

I am trying to develop a simple customer connector for my website on microsoft flow and so far I can't see how to use a web API that is hosted on my website every article tutorial I am coming by require APIs to be hosted on Azure, also an Azure account is a prerequisite .. is it true Only azure APIs to be used for custom connectors ?
Azure is not a prerequisite for Custom Connector. I agree that most of the tutorials talk about connecting Azure hosted apps.
Microsoft flow currently supports creating custom connector with Swagger API output or postman exported data. I created a Postman collection with the API and gave the exported data as input to Microsoft flow for creating the connector.
Detailed Tutorial is available here
https://flow.microsoft.com/en-us/documentation/postman-collection/
I have the same issue, I have configured a custom connector for testing to go against this test / mock API
POST -> https://jsonplaceholder.typicode.com/posts
In the connector test it keep on hitting this URL:
https://msmanaged-na.azure-apim.net/apim/zoom.2dtest.2d002.5f43ed1d930148619c.5f4fd64f4beaca2b60/51136e9557bf4e128e0d7552ff624ebd/posts
I have never configure it to go there. No document explains how or why this would happen.

Integrating dynamics ax with Web API

it is possible to integrating Microsoft Dynamics AX with Web API, if its is possible please send how to integrate and what is best way to integrating with Microsoft Dynamics AX (i.e Web API, WCF or any other is best).
Thanks in advance.
I would create a C# class library, which would act as a wrapper/broker for the WebAPI. You can provide the class library with the URL to the Web API as a Service Reference, which would then discover the webmethods exposed by the API. Once added to the AOT, you would be able to access these as strongly typed methods / types.
For a tutorial on how to do this, see the example on adding Bing search:
Walkthrough: Calling an External Web Service from X++ [AX2012]

Is Microsoft PowerApps integrated with Windows Workflow Foundation?

I wonder if I could develop the business logic of a powerapp through Windows Workflow Foundation or some other bpm? Similar to Appian's Low Code and Appian's BPM, which are integrated.
Not directly - there are no connectors that would link PowerApps with WF. The main "workflow" engine in the PowerApps environment is Microsoft Flow, for which there is a very tight integration.
Notice, however, that if your (existing) workflow can be exposed as a REST API (either directly, or via another custom API), then you should be able to consume it - take a look at the Custom API tutorial for more information.

How to Integrate Your Website with Dynamics CRM 4.0

Does ANYONE know of a successful integration of Microsoft Dynamics CRM system with a .net website?
I have gone through all the msdn stuff for getting started with the SDK for Microsoft CRM 4.
I am trying to find any other basic examples / blog posts about implementing the SDK for MS CRM4.
Does anyone know of some blogs that cover this?
To answer your question, integrating Dynamics CRM with any .NET application pretty much means fetching/pushing data from/to CRM. In case you're looking for a two way integration, like also including fetching/pushing data from/to your .NET application (from CRM) then you would require CRM plugins/javascripts as well.
Unless you are a complete newbie in Dynamics CRM, you should be able to figure it out pretty easily by going through the SDK here http://msdn.microsoft.com/en-us/library/cc151016.aspx where all the possible methods have been explained. It's all .NET, so 'integration' is not a very big deal. You just need to keep in mind what kind of authentication you'd be performing in CRM; if that's going to be an impersonation or you'd pass credentials.

Create Calendar Item WIth SOAP / Exchange EWS

I want to create an appointment on a Public Calendar in Exchange 2010 using an ASP.Net 4.5 WebForm and C#. I've found some resources on EWS and SOAP, but I don't know how to get started creating it. I've never worked with XML files before and don't know how to send them to the Exchange server from my ASP.Net app.
Are there any simple examples of this?
You don't need a huge knowledge of SOAP/XML when using the EWS Managed API - http://msdn.microsoft.com/en-us/library/office/dd633709(v=exchg.80).aspx
The link above provides example of how to create a link to the exchange service, as well as create and edit appointments.
It's a good starting block.

Resources