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

Teradata® Viewpoint and Teradata® Data Lab API Reference Guide - 23.04

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Data Lab
Teradata Viewpoint
Release Number
23.04
Published
April 2023
Language
English (United States)
Last Update
2023-05-05
dita:mapPath
tvo1678987866029.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2215
Product Category
Analytical Ecosystem
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"
}