1

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.

1 Answer 1

3

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.

3
  • thanks a lot :), correct me if I wrong, I need to create these services in AX, right? Just curious, are there any built-in services that can be directly used? Commented Aug 11, 2019 at 4:44
  • 1
    AX 2012 has many built-in Document Services learn.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/… such as CustCustomerService, VendVendTableService, HcmWorkerImportService, etc. that can be just configured and enabled. However, normally such standard services need to be customized (i.e. AX development would be required) to satisfy specific requirements.
    – 10p
    Commented Aug 11, 2019 at 9:48
  • thank you very much, I am accepting your answer. :) Commented Aug 11, 2019 at 14:30

Not the answer you're looking for? Browse other questions tagged or ask your own question.