Update Agent Connection
patch
http://{host}:{port}/veridata/v1/services/configuration/connections/{Id}
Required Role: Administrator, SuperUser, CommandLineOperator
Update agent connection.
Request
Path Parameters
-
Id(required): integer(int64)
ID of the connection to be updated.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
description: string
Connection Description.
-
host: string
Veridata Agent Host.
-
password: string
(password)
Encrypted Database connection password.
-
port: integer
(int32)
Veridata Agent Port.
-
properties: array
properties
-
repairPassword: string
(password)
Encrypted DB password having repair access.
-
repairUsername: string
DB user having repair access.
-
settings: object
ConnectionSettings
-
ssl: boolean
Default Value:
false
SSL enabled Agent connection to the Server. -
username: string
Database connection username.
Nested Schema : ConnectionSettings
Type:
Show Source
object
-
agentTimeout: integer
(int32)
Default Value:
3600
Agent Message Timeout in seconds. -
fetchSize: integer
(int32)
Default Value:
1000
Initial Compare Fetch Batch Size. -
ssl: boolean
Default Value:
false
Use Secure Socket Layer (SSL) for server-agent communication. -
trimTrailingSpaces: boolean
Default Value:
true
Truncate trailing spaces when comparing values. -
useAllColsAsKeys: boolean
Default Value:
true
Use all Columns as Key columns when generating Compare Pairs. -
useSourceTargetAsKeys: boolean
Default Value:
true
Use Source or Target Columns as Key columns when generating ompare. Pairs
Nested Schema : UpdateCompareFormat
Type:
Show Source
object
-
formatName: 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. -
precision: integer
(int32)
-
scale: integer
(int32)
-
timezone: string
Response
Supported Media Types
- application/json
200 Response
Connection Updated.
Root Schema : Connection
Type:
Show Source
object
-
availableTimezones: object
availableTimezones
List of timezones.
-
dbType: string
Allowed Values:
[ "ORACLE", "TANDEMNSK", "SQLSERVER", "SYBASE", "DB2", "TERADATA", "INFORMIX", "HIVE", "MYSQL", "POSTGRESQL" ]
Database Type. -
properties: array
properties
-
repairUsername: string
DB user having repair access.
-
settings: object
ConnectionSettings
-
username: string
Database connection username.
Match All
Show Source
Nested Schema : availableTimezones
Type:
object
List of timezones.
Nested Schema : ConnectionSettings
Type:
Show Source
object
-
agentTimeout: integer
(int32)
Default Value:
3600
Agent Message Timeout in seconds. -
fetchSize: integer
(int32)
Default Value:
1000
Initial Compare Fetch Batch Size. -
ssl: boolean
Default Value:
false
Use Secure Socket Layer (SSL) for server-agent communication. -
trimTrailingSpaces: boolean
Default Value:
true
Truncate trailing spaces when comparing values. -
useAllColsAsKeys: boolean
Default Value:
true
Use all Columns as Key columns when generating Compare Pairs. -
useSourceTargetAsKeys: boolean
Default Value:
true
Use Source or Target Columns as Key columns when generating ompare. Pairs
Nested Schema : BaseConnection
Type:
Show Source
object
-
createdOn: string
(date-time)
Pattern:
YYYY-MM-DDTHH:mm:ss.sssZ
Example: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.sssZ
Example:2024-02-03T10:15:30Z
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:
true
Defines if default property is used or not. -
precision: integer
(int32)
-
scale: integer
(int32)
-
timezone: string
400 Response
Bad Request.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
401 Response
Unauthorized.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
404 Response
Not Found.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
500 Response
Server Error.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.