Get an import package status

get

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

Gets import package status given an id

Request

Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Status of import
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 import.

cURL Command Example

curl -X GET https://mysite.example.com/AgentWeb/api/elementmanager/import/EMPackages/100010 -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 import package",
    "id": 100010,
    "name": "Test import report",
    "status": {
        "code": "10",
        "description": "Import Complete"
    },
    "items": [
        {
            "id": 101257,
            "elementId": 38,
            "name": "ContactReportOpen",
            "type": "Report",
            "stage": {
                "code": "5",
                "description": "Artifact Live"
            },
            "folderPath": "AgentBrowser/ContactFilter"
        }
    ]
}
Back to Top