Get all export package statuses
get
/AgentWeb/api/elementmanager/export/EMPackages
Gets the statuses of Element Manager export packages
Request
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
Statuses of all exports
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 all exports.
cURL Command Example
curl -X GET https://mysite.example.com/AgentWeb/api/elementmanager/export/EMPackages -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": "Collection of packages",
"items": [
{
"id": 100009,
"name": "test",
"status": {
"code": "5",
"description": "Export complete"
},
"href": "http://mysite.example.com/AgentWeb/api/elementmanager/export/EMPackages/100009"
},
{
"id": 100008,
"name": "sample",
"status": {
"code": "5",
"description": "Export complete"
},
"href": "http://mysite.example.com/AgentWeb/api/elementmanager/export/EMPackages/100008"
},
{
"id": 100007,
"name": "Test Em export report",
"status": {
"code": "5",
"description": "Export complete"
},
"href": "http://mysite.example.com/AgentWeb/api/elementmanager/export/EMPackages/100007"
},
{
"id": 100003,
"name": "Config&MsgBase_Versioning",
"status": {
"code": "5",
"description": "Export complete"
},
"href": "http://mysite.example.com/AgentWeb/api/elementmanager/export/EMPackages/100003"
},
{
"id": 100002,
"name": "WorkflowVersioning",
"status": {
"code": "5",
"description": "Export complete"
},
"href": "http://mysite.example.com/AgentWeb/api/elementmanager/export/EMPackages/100002"
},
{
"id": 100001,
"name": "test",
"status": {
"code": "3",
"description": "Export prepare complete"
},
"href": "http://mysite.example.com/AgentWeb/api/elementmanager/export/EMPackages/100001"
}
]
}