Skip to main content
Question

About API processing messages

  • August 24, 2026
  • 2 replies
  • 18 views

Forum|alt.badge.img

As the overall idea of IFS's API, when you run an API, the processing result comes back, but at which point is the processing result actually output?
- The message is sent after the API process is completed.
- The message is sent as soon as the API is executed, without waiting for the API process to complete.

2 replies

Tharshan SM
Hero (Customer)
Forum|alt.badge.img+6
  • Hero (Customer)
  • August 24, 2026

Hi ​@YUKIS,

It depends on whether the API operation is synchronous or asynchronous. In a synchronous API call, the response is returned once the request has been fully processed. For example, in IFS Connect outbound messaging, Invoke_Outbound_Message is synchronous,  it waits for a response from the receiving endpoint before returning.

Post_Outbound_Message, on the other hand, is asynchronous. It queues the message as an Application Message and immediately returns a message ID, while the actual processing happens in the background.

Regards


ashen_malaka_ranasinghe
Superhero (Employee)
Forum|alt.badge.img+14

Hi ​@YUKIS,

For a standard synchronous IFS API call (for example, a Projection action, REST API, or PL/SQL API invoked directly), the response is returned only after the API processing has completed. The caller waits for the transaction to finish, and then receives either the result or an error. This aligns with IFS Integration API guidance that integration APIs are designed to complete a logical business process within a call.

Therefore, the correct statement is: The message is sent after the API process is completed.

The second statement would only apply to asynchronous processing, such as Application Messages, IFS Connect queues, background jobs, or event-driven integrations. In those cases, IFS may acknowledge receipt immediately while the actual processing continues in the background. The integration documentation explicitly mentions both synchronous and asynchronous messaging patterns.

In short:

  • Synchronous API → Response returned after processing completes.
  • Asynchronous API / Messaging → Acknowledgement may be returned immediately, while processing continues in the background.