Get all import package statuses

get

/AgentWeb/api/elementmanager/import/EMPackages

Gets the statuses of Element Manager import packages

Request

Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Statuses of all imports
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 imports.

cURL Command Example

curl -X GET https://mysite.example.com/AgentWeb/api/elementmanager/import/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": 100010,
            "name": "Test import report",
            "status": {
                "code": "10",
                "description": "Import Complete"
            },
            "href": "http://mysite.example.com/AgentWeb/api/elementmanager/import/EMPackages/100010"
        },
        {
            "id": 100006,
            "name": "Test import report",
            "status": {
                "code": "20",
                "description": "Canceled"
            },
            "href": "http://mysite.example.com/AgentWeb/api/elementmanager/import/EMPackages/100006"
        },
        {
            "id": 100005,
            "name": "test",
            "status": {
                "code": "20",
                "description": "Canceled"
            },
            "href": "http://mysite.example.com/AgentWeb/api/elementmanager/import/EMPackages/100005"
        },
        {
            "id": 100004,
            "name": "Custom cpm",
            "status": {
                "code": "20",
                "description": "Canceled"
            },
            "href": "http://mysite.example.com/AgentWeb/api/elementmanager/import/EMPackages/100004"
        }
    ]
}
Back to Top