Get an import package status
get
/AgentWeb/api/elementmanager/import/EMPackages/{id}
Gets import package status given an id
Request
Path Parameters
-
id: integer
Specify the id of the package
Header Parameters
-
API_VERSION(optional): string
API VERSION for the headerDefault Value:
1
Allowed Values:[ "1" ]
-
USERSESSION: string
Authentication token for the header
Response
Supported Media Types
- application/json
200 Response
Status of import
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" } ] }