Get an import package status
get
/AgentWeb/api/elementmanager/import/EMPackages/{id}
Gets import package status given an id
Request
Path Parameters
-
id(required): integer
Specify the id of the package
Header Parameters
-
API_VERSION: string
API VERSION for the headerDefault Value:
1Allowed Values:[ "1" ] -
USERSESSION(required): string
Authentication token for the header
Response
Supported Media Types
- application/json
200 Response
Status of import
Nested Schema : EMPackageStatus
Type:
Show Source
object-
code(required):
integer
-
description(required):
string
-
errorCode(required):
string
Error details of the item
Examples
The following example shows how to get the status of an import.
cURL Command Example
curl -X GET https://mysite.example.com/AgentWeb/api/elementmanager/import/EMPackages/100010 -H "USERSESSION: feihg98GnT7i" -H "API_VERSION: 1" -H "Content-Type: application/json"
Response Body Example
The following shows an example of the response body in JSON format.
{
"description": "State of the import package",
"id": 100010,
"name": "Test import report",
"status": {
"code": "10",
"description": "Import Complete"
},
"items": [
{
"id": 101257,
"elementId": 38,
"name": "ContactReportOpen",
"type": "Report",
"stage": {
"code": "5",
"description": "Artifact Live"
},
"folderPath": "AgentBrowser/ContactFilter"
}
]
}