Create Agent Connection
post
http://{host}:{port}/veridata/v1/services/configuration/connections
Required Role: Administrator, SuperUser, CommandLineOperator
Create Agent Connection.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
dbType(required): string
Allowed Values:
[ "ORACLE", "TANDEMNSK", "SQLSERVER", "SYBASE", "DB2", "TERADATA", "INFORMIX", "HIVE", "MYSQL", "POSTGRESQL" ]
Database Type. -
description: string
Connection Description.
-
host(required): string
Veridata Agent Host.
-
name(required): string
Connection Name.
-
password(required): string
(password)
Encrypted Database connection password.
-
port(required): integer
(int32)
Veridata Agent Port.
-
repairPassword: string
(password)
Encrypted DB password having repair access.
-
repairUsername: string
DB user having repair access.
-
ssl: boolean
Default Value:
false
SSL enabled Agent connection to the Server. -
username(required): string
Database connection username.
Response
Supported Media Types
- application/json
201 Response
Agent connection created successfully.
Root 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
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.