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.
Example:
{ "name":"Oracle-Connection-Source", "description":"Connection to source Oracle database", "host":"100.00.00.00", "port":"7850", "dbType":"ORACLE", "ssl":"false", "username":"User", "password":"Abc@123" }
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
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 }
400 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" }