Update Agent Connection

patch

http://{host}:{port}/veridata/v1/services/configuration/connections/{Id}

Required Role: Administrator, SuperUser, CommandLineOperator

Update agent connection.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Example:
{ "description":"Updated description", "host":"100.00.00.01", "port":7851, "ssl":false, "username":"User1", "password":"Abc@1234", "repairUsername":"User1", "repairPassword":"Abc@1234", "properties":[ { "datatype":"string", "compareFormat":{ "formatName":"blob", "precision":0, "scale":0, "timezone":"string" } } ], "settings":{ "agentTimeout":3000, "trimTrailingSpaces":true, "fetchSize":5000, "ssl":false, "useSourceTargetAsKeys":true, "useAllColsAsKeys":true } }
Nested Schema : properties
Type: array
Show Source
Nested Schema : ConnectionSettings
Type: object
Show Source
Nested Schema : UpdateConnectionProperty
Type: object
Show Source
Nested Schema : UpdateCompareFormat
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Connection Updated.
Body ()
Root Schema : Connection
Type: object
Show Source
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", "properties":[ { "datatype":"ARRAY", "datatypeNumber":2004, "defaultFormat":{ "defaultFormatType":"ggComparisonFormatBlob", "formatName":"blob" }, "searchable":true, "useDefault":true } ], "settings":{ "useSourceTargetAsKeys":"true", "useAllColsAsKeys":"true" }, "updatedOn":"2025-04-02T11:20:51Z", "username":"User" }
Nested Schema : availableTimezones
Type: object
List of timezones.
Nested Schema : properties
Type: array
Show Source
Nested Schema : ConnectionSettings
Type: object
Show Source
Nested Schema : BaseConnection
Type: object
Show Source
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: object
Show Source

400 Response

Bad Request.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }

401 Response

Unauthorized.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }

404 Response

Not Found.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }

500 Response

Server Error.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
Back to Top