URL

GET https://{api-url}/api/v2/tenants/{orgId}/users/{userId}/alertViews/{viewId}

URL example

https://{api-url}/api/v2/tenants/msp_5/users/USR0000001876/alertViews/35

Status code

200 OK

Sample request

https://{api-url}/api/v2/tenants/client_93/users/USR0000002115/alertViews/18

Sample response

{
    "id": 18,
    "name": "NOC_View",
    "description": "This View is useful for NOC people",
    "createdOn": "2020-03-17T08:28:15+0000",
    "createdBy": {
        "id": "USR0000000012",
        "loginName": "rgu_basar",
        "lastName": "BASAR",
        "firstName": "RGUKT",
        "email": "test@opsramp.com",
        "phoneNumber": ""
    },
    "viewType": "Private",
    "defaultView": true,
    "partners": [
        {
            "id": 7,
            "uniqueId": "msp_5",
            "name": "Test Partner",
            "activated": true
        }
    ],
    "clients": [
        {
            "id": 9,
            "uniqueId": "client_93",
            "name": "Test Client",
            "activated": true,
            "maskResourceIdentity": false,
            "offlineAlertstoThirdPartyTool": false,
            "remoteCommands": true
        }
    ],
    "alertTimestamp": "Last Updated Time",
    "duration": "2days",
    "resourceOrgin": "all",
    "states": [
        "Critical"
    ],
    "availability": "all"
}