Create Compare Pairs

post

http://{host}:{port}/veridata/v1/services/configuration/cps/group/{groupId}

Required Role: Administrator, SuperUser, CommandLineOperator

API to create Compare Pairs.

Request

Path Parameters
Query Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Example:
{ "comparePairs":[ { "name":"EMPLOYEE=EMPLOYEE", "description":"Compare pair of Oracle Employee table", "profileId":1, "srcTable":[ { "name":"EMPLOYEE", "schema":"VERIDATA", "catalog":"ORCL1", "filePattern":"EMP%", "tablePartition":[ { "name":"EMP_2025" } ] } ], "tgtTable":[ { "name":"EMPLOYEE", "schema":"VERIDATA", "catalog":"ORCL1", "filePattern":"EMP%", "tablePartition":[ { "name":"EMP_2025" } ] } ], "srcRowPartitions":[ { "name":"employees whose ID is greater than 100", "whereClause":"ID > 100", "type":"S", "runTime":true } ], "tgtRowPartitions":[ { "name":"employees whose ID is greater than 100", "whereClause":"ID > 100", "type":"S", "runTime":true } ], "enabled":true } ] }
Nested Schema : comparePairs
Type: array
Show Source
Nested Schema : CreateComparePairRequest
Type: object
Show Source
Match All
Show Source
Nested Schema : srcEnscribeInfo
Type: array
Show Source
Nested Schema : srcRowPartitions
Type: array
Show Source
Nested Schema : srcTable
Represents a table in compare pair with table and row partitions info, if any.
Match All
Represents a table in compare pair with table and row partitions info, if any.
Represents a table in compare pair with table and row partitions info, if any.
Show Source
Nested Schema : tgtEnscribeInfo
Type: array
Show Source
Nested Schema : tgtRowPartitions
Type: array
Show Source
Nested Schema : tgtTable
Represents a table in compare pair with table and row partitions info, if any.
Match All
Represents a table in compare pair with table and row partitions info, if any.
Represents a table in compare pair with table and row partitions info, if any.
Show Source
Nested Schema : BaseObject_1
Type: object
Show Source
Nested Schema : CreateComparePairRequest-allOf[1]
Type: object
Nested Schema : EnscribeAttributeRequest
Type: object
Show Source
  • Allowed Values: [ "AltKey", "Dictionary", "Record", "ExpandDDLRedefs", "ExpandDDLResolveDupAppend", "ExpandDDLResolveDupPrepend", "ExpandDDLExpandGroupArrays", "ExpandDDLFixLongNames", "ExpandDDLMaxColNameLen", "ExpandDDLSeparator", "ExpandDDLZeroFill" ]
Nested Schema : RowPartitionRequest
Match All
Show Source
Nested Schema : RowPartitionParams
Type: object
Show Source
Nested Schema : ReqTable
Type: object
Defines a table in request body.
Show Source
Nested Schema : srcTable-allOf[1]
Type: object
Nested Schema : tablePartition
Type: object
Match All
Show Source
Nested Schema : TablePartition
Type: object
Show Source
Nested Schema : tgtTable-allOf[1]
Type: object
Back to Top

Response

Supported Media Types

201 Response

Compare Pairs created successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ComparePairInDetails
Type: object
Show Source
Match All
Show Source
Nested Schema : srcEnscribeInfo
Type: array
Show Source
Nested Schema : tgtEnscribeInfo
Type: array
Show Source
Nested Schema : ComparePairInDetailsView
Type: object
Show Source
Match All
Show Source
Nested Schema : BaseObject_2
Type: object
Show Source
Nested Schema : ComparePairInDetailsView-allOf[1]
Type: object
Nested Schema : Group_base
Type: object
Show Source
Nested Schema : ComparePairInDetails-allOf[2]
Type: object
Nested Schema : EnscribeAttribute
Type: object
Show Source
Nested Schema : group
Group Object.
Match All
Group Object.
Group Object.
Show Source
Nested Schema : BaseObject_3
Type: object
Show Source
Nested Schema : group-allOf[1]
Type: object

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