web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

X++ Asynchronous API support

(0) ShareShare
ReportReport
Posted on by 6
hello.
I'm trying to create an Asynchronous API with D365 F&O X++.
However, I couldn't find any sample code.
While searching, I heard that X++ does not directly support Asynchronous API.
I wonder if Asynchronous API is supported in X++.
If it is supported, I would like to know sample code.
I need your help.
I have the same question (0)
  • Martin Dráb Profile Picture
    235,800 Most Valuable Professional on at
    X++ Asynchronous API support
    Okay, it's not really a question about X++; it's about integration of other systems with F&O.
     
    There are many possible ways. For example, the other system can send multiple records at once through data management APIs. Or you can put messages to a queue and send them to F&O by Power Automate one by one, or have a batch in F&O getting messages from the queue.
  • Community member Profile Picture
    6 on at
    X++ Asynchronous API support
    We are using Sychronous API with ODATA, so when we send the API from outside, the data goes directly into the table.
    When receiving data through API, we are trying to change the Sychronous API to Ayschronous API to receive data within a certain time to prevent a large amount of data coming in at once.
     
    I'm sorry if it's difficult to know what I want to achieve.
  • Martin Dráb Profile Picture
    235,800 Most Valuable Professional on at
    X++ Asynchronous API support
    I'm sorry, but I still don't understand what you need from us. Please explain your business scenario and the problem you're struggling with.
  • Community member Profile Picture
    6 on at
    X++ Asynchronous API support
    hi,
    Thank you for your reply.
    I am trying to create an asynchronous API using the batch data API.
  • Martin Dráb Profile Picture
    235,800 Most Valuable Professional on at
    D365 X++ Asynchronous API support
    You'll need to explain what exactly you're trying to achieve, because an Application Programming Interface (API) can be almost anything. You need to tell us what kind API for what purpose you have in mind.
     
    You can SysOperation with several aynchronous execution modes, runAsync(), .NET async APIs, asynchronous integration patterns (e.g. message queues) and so on. But it's impossible to say which one would meet your requirements if you don't tell us what the requirements are.
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    D365 X++ Asynchronous API support
    Hi,
    You can refer to this official documentation: Integration between finance and operations apps and third-party services - Finance & Operations | Dynamics 365 | Microsoft LearnThe article describes integration patterns, integration scenarios, and integration solutions and best practices. However, it doesn't include technical details about how to use or set up every integration pattern. It also doesn't include sample integration code. You can also check out this official documentation: Custom service development - Finance & Operations | Dynamics 365 | Microsoft Learn. This article describes sample code on GitHub for custom service development.
    Best regards,
    Kevin

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 665 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 595 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 558

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans