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

Notifications

Announcements

No record found.

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)
  • 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
    237,795 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.
  • Community member 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
    237,795 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.
  • Community member 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
    237,795 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

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 540 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans