Get an export package status
get
/AgentWeb/api/elementmanager/export/EMPackages/{id}
Gets export 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 export
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" } } ] }