GETADITUS/Exhibitors/Import/Get Import Task Status

Get Import Task Status

GET{{API_BASE_URL}}/tasks/exhibitors/import/{id}

Get Exhibitor Import Task (Status)

Retrieves the current status of an exhibitor import task (ExhibitorImportTask). Use this endpoint to poll the task until it finishes. When the task is completed, follow the Location header to fetch the final result.

Auth and Role

  • Auth
    OAuth 2.0 (inherit from collection)

  • Required role
    BASEROLE APITASKS

Request

  • Method: GET

  • URL: {{API_BASE_URL}}/tasks/exhibitors/import/{id}

Headers

  • Accept: */*

Request Body

  • None required

Response

200 OK

  • Returns ExhibitorImportTask (status)

  • Location header behavior

    • If the task is not completed, Location points back to /tasks/exhibitors/import/{id} (poll again).

    • If the task is completed, Location points to /tasks/exhibitors/import/{id}/result.

404 Not Found – Returned if:

  • The specified {id} does not exist

Usage

  • Call this endpoint repeatedly until the task is finished (e.g. when finishedOn is not null or when Location points to …/{id}/result).

  • Once the task is complete, follow the Location link to GET /tasks/exhibitors/import/{id}/result to view the detailed outcome.

Response Structure

If the process is successful, the server returns a 200 OK status with details of the imported task.

{
"_links": {
"self": {
"href": "/exhibitors/import/177"
},
"curies": {
"name": "adi",
"href": "http://dev.aditus.de:8000/ADITUS-DEV-0_API/api/tasks/{rel}",
"templated": true
}
},
"result": {
"import": {
"createdBy": 9,
"createdOn": "2024-05-28T15:57:50.2277608",
"executionFrom": "2024-05-28T15:57:50.2277608",
"lastActionOn": "2024-05-28T15:57:55.7655799",
"id": "177",
"status": 254,
"targetResourceId": 1,
"finishedOn": "2024-05-28T15:57:55.7655799",
"startedOn": "2024-05-28T15:57:55.5316019",
"taskId": 3404
}
}
}

Keywords: exhibitor import, poll status, task status, finishedOn, location header

Authentication#auth

This endpoint does not require authentication.

Responses#responses

200OKtasks/exhibitors/import/{id}