Get an export package status
get
/AgentWeb/api/elementmanager/export/EMPackages/{id}
Gets export 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:
1
Allowed Values:[ "1" ]
-
USERSESSION(required): string
Authentication token for the header
Response
Supported Media Types
- application/json
200 Response
Status of export
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 export.
cURL Command Example
curl -X GET https://mysite.example.com/AgentWeb/api/elementmanager/export/EMPackages/100002 -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 export package", "id": 100002, "name": "WorkflowVersioning", "status": { "code": "5", "description": "Export complete" }, "href": "http://mysite.example.com/AgentWeb/api/elementmanager/export/EMPackages/download/100002", "items": [ { "id": 102167, "elementId": 12, "type": "Workspace", "stage": { "code": "9", "description": "Export prepare complete" } }, { "id": 102166, "elementId": 14, "type": "Workspace", "stage": { "code": "9", "description": "Export prepare complete" } }, { "id": 102097, "elementId": 16, "type": "Report", "stage": { "code": "9", "description": "Export prepare complete" } }, { "id": 102096, "elementId": 18, "type": "Report", "stage": { "code": "9", "description": "Export prepare complete" } }, { "id": 102098, "elementId": 19, "type": "Report", "stage": { "code": "9", "description": "Export prepare complete" } }, { "id": 131, "elementId": 20, "type": "BrowserExtension", "stage": { "code": "9", "description": "Export prepare complete" } } ] }