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

Announcements

No record found.

News and Announcements icon
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.
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    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
  • Martin Dráb Profile Picture
    240,744 Most Valuable Professional on at
    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.
  • CU27040904-12 Profile Picture
    6 on at
    hi,
    Thank you for your reply.
    I am trying to create an asynchronous API using the batch data API.
  • Martin Dráb Profile Picture
    240,744 Most Valuable Professional on at
    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.
  • CU27040904-12 Profile Picture
    6 on at
    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
    240,744 Most Valuable Professional on at
    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 426 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 358

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 353 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans