Skip to main content
GET
/
accounting
/
asyncTask
/
{taskId}
cURL
curl --request GET \
  --url https://api.maesn.dev/accounting/asyncTask/{taskId} \
  --header 'X-ACCOUNT-KEY: <x-account-key>' \
  --header 'X-API-KEY: <x-api-key>'
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": {
    "status": "SUCCESS",
    "information": [
      {
        "filename": "Invoice_V30",
        "message": "The document has been received.",
        "timestamp": "2021-01-01T00:00:00Z",
        "type": "information"
      }
    ]
  }
}

Field support per integration

Please ensure the parameter taskId is accurately populated with the appropriate task ID. You can obtain this value by executing an asynchronous POST request.For more info about asynchronous tasks visit the Asynchronous Task section.
If you’re not using the Interactive Authentication Flow, make sure the query parameter companyId is accurately populated with the appropriate company ID. You can obtain this value by using the GET Companies endpoint available under the Authentication section.
Support rawData: false
Supported Response Fields:
status
enum
Available options:OPEN, IN_PROGRESS, SUCCESS, FAILED, PARTIAL_SUCCESS, CANCELLED_SUCCESSFULLY,CANCEL_FAILED
information
InformationResponseDto[]
Please ensure the parameter taskId is accurately populated with the appropriate task ID. You can obtain this value by executing an asynchronous POST request.For more info about asynchronous tasks visit the Asynchronous Task section.
If you’re not using the Interactive Authentication Flow, make sure the query parameter companyId is accurately populated with the appropriate company ID. You can obtain this value by using the GET Companies endpoint available under the Authentication section.
Support rawData: false
Supported Response Fields:
status
enum
Available options:SUCCESS, FAILED
information
InformationResponseDto[]

Headers

X-API-KEY
string
required

API key

X-ACCOUNT-KEY
string
required

Account key

Path Parameters

taskId
string
required

Query Parameters

companyId
string

Response

200 - application/json
meta
object
data
object
I