Viewpoint QueryLog REST APIs | Data Objects | Teradata Viewpoint - 17.10 - Data Objects - Teradata Data Lab - Teradata Viewpoint

Teradata® Viewpoint and Teradata® Data Lab API Reference Guide

Product
Teradata Data Lab
Teradata Viewpoint
Release Number
17.10
Release Date
October 2021
Content Type
Programming Reference
Publication ID
B035-2215-101K
Language
English (United States)
FlaggedQuery
{
    "links": [ // HATEOAS LINKS
            {
                "rel": "self",
                "href": "http://vp-dev12/api/public/queryLog/flaggedQueries/32"
            },
            {
                "rel": "system",
                "href": "http://vp-dev12/api/public/monitoredSystems/401"
            }
    ],
    "flagId": "32",                                                             // ID of the FlaggedQuery
    "systemId": 401,                                                            // ID of the system FlaggedQuery was run on
    "username": "admin",                                                        // Username
    "logDate": "2018-05-01",                                                    // Date FlaggedQuery was logged
    "queryId": "307181055192338051",                                            // ID of the FlaggedQuery in the TD system
    "sqlText": "BEGIN QUERY LOGGING WITH SQL LIMIT SQLTEXT=0 ON SystemFE ;",    // FlaggedQuery SQL Stmt
    "flagTime": 1525393409772                                                   // timestamp Query was flagged
    }
ReturnStatus
{
    "message": "Access Denied. Error ID: 15524dfd-6806-4f95-a0b5-e59a64cbb833"
}