Get all export package statuses

get

/AgentWeb/api/elementmanager/export/EMPackages

Gets the statuses of Element Manager export packages

Request

Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Statuses of all exports
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : EMStatus
Type: object
Show Source
Nested Schema : PublicApiExceptionResponse
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : EMPackageStatus
Type: object
Show Source
Nested Schema : EMProcessedItem
Type: object
Show Source
Nested Schema : EMCodeDescPair
Type: object
Show Source
Back to Top

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"
        }
    ]
}
Back to Top