Get an export package status

get

/AgentWeb/api/elementmanager/export/EMPackages/{id}

Gets export package status given an id

Request

Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Status of export
Body ()
Root 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 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"
            }
        }
    ]
}
Back to Top