Overview
The Maesn API supports asynchronous operations for endpoints likePOST /expenses,
POST /transactions, POST /bookingProposals,POST /contacts/bulk, POST /journalEntries/bulk.
To track the status of these requests, the API provides the GET /asyncTask endpoint.
When an asynchronous request is made, the response body includes a taskId, a unique identifier that allows clients to check the progress or result of the operation.
This taskId is used as a parameter in GET /asyncTask, enabling efficient status tracking of background processes.
Example
Here is an example of a partial response from an asynchronous operation:taskId in the GET /asyncTask endpoint:
Example code snippet