GETADITUS/Exhibitors/Import/Get Import Task Result

Get Import Task Result

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

Get Exhibitor Import Task Result

Retrieves the detailed result of a previously started exhibitor import task. Call this endpoint once the task status indicates completion (via the GET /tasks/exhibitors/import/{id} request).

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}/result

Headers

  • Accept: */*

Request Body

  • None required

Response

200 OK

  • Returns an ExhibitorImportTaskResult object in JSON format

404 Not Found – Returned if:

  • The specified {id} does not exist or

  • The task has not yet completed — poll status endpoint until finishedOn is not null

Usage

  • Only call this endpoint after the task status (via GET /tasks/exhibitors/import/{id}) has been completed.

  • Use the returned resultItems to check which entities were imported successfully, which were skipped and which caused errors.EndFragment

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/result"
},
"curies": {
"name": "adi",
"href": "http://dev.aditus.de:8000/ADITUS-DEV-0_API/api/tasks/{rel}",
"templated": true
}
},
"result": {
"content": {
"overallResultState": 0,
"resultItems": [
0: {
"state": 0,
"header": "Fairevents",
"description": "'1' has already been processed."
},
1: {
"state": 0,
"header": "Exhibitors",
"description": ""
},
2: {
"state": 0,
"header": "Fairevent appearances",
"description": "Data set '002-0000-00000-000_1120' is contained in database."
},
3: {
"state": 0,
"header": "User accounts",
"description": "Data set 'm.Wichmann2@aditus.de' is contained in database."
},
4: {
"state": 0,
"header": "User data",
"description": ""
},
5: {
"state": 0,
"header": "Accounts of fairevent appearance",
"description": "Data set 'm.Wichmann2@aditus.de / 002-0000-00000-000_1120 / 002-0000-00000-000' is contained in database."
}
]
}
}
}

Keywords: exhibitor import, final result, result items, overallResultState, errors, warnings

Authentication#auth

This endpoint does not require authentication.

Responses#responses

200OKtasks/exhibitors/import/{id}/result