Retrieve Connection
get
http://{host}:{port}/veridata/v1/services/configuration/connections/{Id}
Required Role: Administrator, SuperUser, DetailMonitoringOperator, MonitoringOperator, CommandLineOperator
Returns connection details.
Request
Path Parameters
-
Id(required): integer(int64)
Connection ID.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successfully returned agent connection.
Root Schema : Connection
Type:
Show Source
object-
agentId: integer
Specifies the managed Agent id associated with connection.
-
agentVersions: object
AgentVersions
-
availableTimezones: object
availableTimezones
List of timezones.
-
dbType: string
Allowed Values:
[ "NOTSPECIFIED", "ORACLE", "TANDEMNSK", "SQLSERVER", "SYBASE", "DB2", "TERADATA", "INFORMIX", "HIVE", "MYSQL", "POSTGRESQL", "MARIADB", "SINGLESTORE", "DATABRICKS", "SNOWFLAKE", "MONGODB", "JCT", "AJD", "COSMOS", "ATLAS", "docDB" ]Database Type. -
managed: boolean
Specifies whether the connection is associated with managed Agent.
-
properties: array
properties
-
repairUsername: string
DB user having repair access.
-
settings: array
settings
-
username: string
Database connection username.
Match All
Show Source
Example:
{
"createdOn":"2025-04-02T11:20:51.270Z",
"description":"Connection to source Oracle Database",
"host":"100.00.00.00",
"id":1090,
"name":"Oracle-Connection-Source",
"port":7800,
"availableTimezones":{
"DEFAULT TIMEZONE":"DEFAULT",
"(UTC-11:00) Midway - Samoa Time (ST)":"Pacific/Midway"
},
"dbType":"oracle",
"managed":true,
"agentId":1004,
"agentVersions":{
"agentVersion":"23.26.1.0.0",
"protocolVersion":3
},
"properties":[
{
"datatype":"ARRAY",
"datatypeNumber":2004,
"defaultFormat":{
"defaultFormatType":"ggComparisonFormatBlob",
"formatName":"blob"
},
"searchable":true,
"useDefault":true
}
],
"settings":[
{
"default":true,
"defaultValue":true,
"name":"useSourceTargetAsKeys",
"type":"BOOLEAN",
"value":true
},
{
"default":true,
"min":0,
"max":100000,
"defaultValue":3600,
"name":"agentTimeout",
"type":"INTEGER",
"value":3600
},
{
"default":true,
"min":0,
"max":100000,
"defaultValue":1000,
"name":"fetchSize",
"type":"INTEGER",
"value":1000
}
],
"updatedOn":"2025-04-02T11:20:51Z",
"username":"User"
}Nested Schema : AgentVersions
Type:
Show Source
objectExample:
{
"agentVersion":"23.26.1.0.0",
"protocolVersion":"3"
}Nested Schema : availableTimezones
Type:
objectList of timezones.
Nested Schema : BaseConnection
Type:
Show Source
object-
createdOn: string
(date-time)
Pattern:
YYYY-MM-DDTHH:mm:ss.sssZExample:2024-02-03T10:15:30Z -
description: string
Connection Description.
-
host: string
Veridata Agent Host.
-
id: integer
(int64)
Connection Id.
-
name: string
Connection Name.
-
port: integer
(int32)
Veridata Agent Port.
-
updatedOn: string
(date-time)
Pattern:
YYYY-MM-DDTHH:mm:ss.sssZExample:2024-02-03T10:15:30Z
Example:
{
"createdOn":"2025-04-02T11:20:51.269Z",
"description":"Connection to source Oracle Database",
"host":"100.00.00.00",
"id":1090,
"name":"Oracle-Connection-Source",
"port":7800
}Nested Schema : ConnectionProperty
Type:
Show Source
object-
compareFormat: string
Allowed Values:
[ "string", "string_en", "binary", "timestamp", "timestamp_tz", "date", "time", "datetime", "smalldatetime", "clob", "blob", "Float", "dec_float", "interval", "number", "binary_timestamp", "string_nfc", "clob_nfc", "sybtime", "bit", "Double" ]Compare Format. -
dataType: string
-
isDefault: boolean
Default Value:
trueDefines if default property is used or not. -
precision: integer
(int32)
-
scale: integer
(int32)
-
timezone: string
Nested Schema : RetrieveConnectionSettings
Type:
Show Source
object-
default: boolean
-
defaultValue: object
defaultValue
-
max: integer
-
min: integer
-
name: string
-
type: string
Allowed Values:
[ "BOOLEAN", "ENUM", "INTEGER", "STRING" ] -
value: object
value
Example:
[
{
"default":true,
"defaultValue":true,
"name":"useSourceTargetAsKeys",
"type":"BOOLEAN",
"value":"true"
},
{
"default":true,
"defaultValue":true,
"name":"useAllColsAsKeys",
"type":"BOOLEAN",
"value":"true"
},
{
"default":true,
"defaultValue":1000,
"name":"fetchSize",
"type":"INTEGER",
"value":"1000"
},
{
"default":true,
"min":0,
"max":10000000,
"defaultValue":3600,
"name":"agentTimeout",
"type":"INTEGER",
"value":"3600"
}
]Nested Schema : defaultValue
Type:
objectNested Schema : value
Type:
object400 Response
Bad Request.
Root Schema : Error
Type:
Show Source
object-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
Example:
{
"errCode":"OGGV-00001",
"errMsg":"Error message"
}401 Response
Unauthorized.
Root Schema : Error
Type:
Show Source
object-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
Example:
{
"errCode":"OGGV-00001",
"errMsg":"Error message"
}404 Response
Not Found.
Root Schema : Error
Type:
Show Source
object-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
Example:
{
"errCode":"OGGV-00001",
"errMsg":"Error message"
}500 Response
Server Error.
Root Schema : Error
Type:
Show Source
object-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
Example:
{
"errCode":"OGGV-00001",
"errMsg":"Error message"
}