Replace Compare Pair
put
                    http://{host}:{port}/veridata/v1/services/configuration/cps/{Id}
Required Role: Administrator, SuperUser, CommandLineOperator
Replace Compare Pair.
Request
Path Parameters
                - 
                    Id(required):  integer(int64)
                    
                    Compare Pair ID.
Supported Media Types
                            - application/json
Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    columnMappings(required): array
                    
                    
                
                
                    columnMappings
                
                
                
- 
                
                    
                    columnsSystemMapped: boolean
                    
                    
                     
                    
                
                
                All the hash columns to be mapped by the veridata system or not. When set to false, it will be user-defined.
- 
                
                    
                    delta: object
                    
                    
                
                
                    DeltaProcessing
                
                
                Defines Delta Setting. For NSK this will be an empty object.
- 
                
                    
                    deltaProcessingEnabled: boolean
                    
                    
                     
                    
                
                
                Parameter to define if delta processing should be enabled for this Compare Pair or not.
- 
                
                    
                    description: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    enabled: boolean
                    
                    
                     
                    
                
                
                Compare pair is enabled in the group to run.
- 
                
                    
                    keyColumnsSystemMapped: boolean
                    
                    
                     
                    
                
                
                All the key columns to be mapped by the veridata system or not. When set to false, it will be user-defined.
- 
                
                    
                    profileId: integer
                    
                    
                     (int64) 
                    
                
                
                Default Value:1Profile ID.
- 
                
                    
                    srcEnscribeInfo: array
                    
                    
                
                
                    srcEnscribeInfo
                
                
                
- 
                
                    
                    srcRowPartitions: array
                    
                    
                
                
                    srcRowPartitions
                
                
                
- 
                
                    
                    tgtEnscribeInfo: array
                    
                    
                
                
                    tgtEnscribeInfo
                
                
                
- 
                
                    
                    tgtRowPartitions: array
                    
                    
                
                
                    tgtRowPartitions
                
                
                
Example:
    
{
    "profileId":"1,",
    "description":"Updated employee compare pair,",
    "enabled":"true,",
    "deltaProcessingEnabled":"true,",
    "keyColumnsSystemMapped":"true,",
    "columnsSystemMapped":"true,",
    "columnMappings":[
        {
            "srcColumn":[
                {
                    "columnName":"ID,",
                    "dataType":"NUMBER,",
                    "lob":false
                }
            ]
        },
        {
            "tgtColumn":[
                {
                    "columnName":"ID,",
                    "dataType":"NUMBER,",
                    "lob":false
                }
            ]
        }
    ],
    "compareFormat":"number,",
    "mappingType":"key,",
    "supportedCompareFormats":[
        "string, string_en, dec_float, float, binary"
    ],
    "srcRowPartitions":[
        {
            "name":"employee Id's greater than 100,",
            "whereClause":"ID > 100,",
            "type":"S,",
            "runTime":true
        }
    ],
    "tgtRowPartitions":[
        {
            "name":"employee Id's greater than 100,",
            "whereClause":"ID > 100,",
            "type":"S,",
            "runTime":true
        }
    ],
    "delta":[
        {
            "srcColumn":"MODIFIED_DATE,",
            "tgtColumn":"MODIFIED_DATE,",
            "srcDeltaQuery":"SELECT MAX(MODIFIED_DATE) FROM ORCL1.VERIDATA.EMPLOYEE,",
            "tgtDeltaQuery":"SELECT MAX(MODIFIED_DATE) FROM ORCL1.VERIDATA.EMPLOYEE,",
            "srcDeltaCols":[
                "MODIFIED_DATE, CREATED_DATE"
            ],
            "tgtDeltaCols":[
                "MODIFIED_DATE, CREATED_DATE"
            ]
        }
    ]
}Nested Schema : DeltaProcessing
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefines Delta Setting. For NSK this will be an empty object.
    
    
    
    
        Show Source
        - 
                
                    
                    srcColumn: string
                    
                    
                     
                    
                
                
                Delta Source column.
- 
                
                    
                    srcDeltaCols: array
                    
                    
                
                
                    srcDeltaCols
                
                
                List of Source Delta columns.
- 
                
                    
                    srcDeltaQuery: string
                    
                    
                     
                    
                
                
                Source Delta query.
- 
                
                    
                    tgtColumn: string
                    
                    
                     
                    
                
                
                Delta Target column.
- 
                
                    
                    tgtDeltaCols: array
                    
                    
                
                
                    tgtDeltaCols
                
                
                List of Target Delta columns.
- 
                
                    
                    tgtDeltaQuery: string
                    
                    
                     
                    
                
                
                Target Delta query.
Nested Schema : ColumnMapping
    
    	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
                    
                    
                     
                    
                
                
                
- 
                
                    
                    mappingType: string
                    
                    
                     
                    
                
                
                Allowed Values:[ "Key", "Hash", "Literal" ]Compare Mapping Type.
- 
                
                    
                    precision: integer
                    
                    
                     (int32) 
                    
                
                
                Default Value:0
- 
                
                    
                    scale: integer
                    
                    
                     (int32) 
                    
                
                
                Default Value:0
- 
                
                    
                    srcColumn: object
                    
                    
                
                
                    Column
                
                
                Defines a column.
- 
                
                    
                    supportedCompareFormats: array
                    
                    
                
                
                    supportedCompareFormats
                
                
                
- 
                
                    
                    tgtColumn: object
                    
                    
                
                
                    Column
                
                
                Defines a column.
- 
                
                    
                    timezone: string
                    
                    
                     
                    
                
                
                
Nested Schema : Column
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefines a column.
    
    
    
    
        Show Source
        - 
                
                    
                    columnName: string
                    
                    
                     
                    
                
                
                Column Name.
- 
                
                    
                    dataType: string
                    
                    
                     
                    
                
                
                Data type of the column.
- 
                
                    
                    jdbcType: integer
                    
                    
                     (int32) 
                    
                
                
                java.sql.Types type number.
- 
                
                    
                    lob: boolean
                    
                    
                     
                    
                
                
                
- 
                
                    
                    precision: integer
                    
                    
                     (int32) 
                    
                
                
                Default Value:0
- 
                
                    
                    scale: integer
                    
                    
                     (int32) 
                    
                
                
                Default Value:0
- 
                
                    
                    timezone: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    typeNum: integer
                    
                    
                     (int32) 
                    
                
                
                internal column type number.
Nested Schema : supportedCompareFormats
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        array- 
            Array of: 
                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.
Nested Schema : EnscribeAttributeRequest
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    default: boolean
                    
                    
                     
                    
                
                
                
- 
                
                    
                    name: string
                    
                    
                     
                    
                
                
                Allowed Values:[ "AltKey", "Dictionary", "Record", "ExpandDDLRedefs", "ExpandDDLResolveDupAppend", "ExpandDDLResolveDupPrepend", "ExpandDDLExpandGroupArrays", "ExpandDDLFixLongNames", "ExpandDDLMaxColNameLen", "ExpandDDLSeparator", "ExpandDDLZeroFill" ]
- 
                
                    
                    value: string
                    
                    
                     
                    
                
                
                
Nested Schema : RowPartitionParams
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    endingKey: string
                    
                    
                     
                    
                
                
                Enscribe ending key.
- 
                
                    
                    isAscii: boolean
                    
                    
                     
                    
                
                
                Enscribe is ASCII.
- 
                
                    
                    name(required): string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    runtime: boolean
                    
                    
                     
                    
                
                
                Use at runtime.
- 
                
                    
                    startingKey: string
                    
                    
                     
                    
                
                
                Enscribe starting key.
- 
                
                    
                    type(required): string
                    
                    
                     
                    
                
                
                Allowed Values:[ "S", "E", "A" ]Type of Row Partition (SQL{S} , Enscribe{E} , Auto{A})
- 
                
                    
                    whereClause: string
                    
                    
                     
                    
                
                
                SQL Predicate Statement.
Response
Supported Media Types
                - application/json
200 Response
Ok.
                            
                            
                                Nested Schema : ComparePairInDetailsView
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    columnMappings: array
                    
                    
                
                
                    columnMappings
                
                
                
- 
                
                    
                    columnsSystemMapped: boolean
                    
                    
                     
                    
                
                
                Default Value:trueIs the key columns system mapped.
- 
                
                    
                    delta: 
                    
                    
                
                
                    delta
                
                
                
- 
                
                    
                    deltaProcessingEnabled: boolean
                    
                    
                     
                    
                
                
                Default Value:falseDelta processing is enabled for this compare pair.
- 
                
                    
                    enabled: boolean
                    
                    
                     
                    
                
                
                Default Value:trueCompare Pair is enabled in the group to run.
- 
                
                    
                    keyColumnsSystemMapped: boolean
                    
                    
                     
                    
                
                
                Default Value:trueIs the key columns system mapped.
- 
                
                    
                    profile: 
                    
                    
                
                
                    profile
                
                
                Profile Object.
- 
                
                    
                    setting: object
                    
                    
                
                
                    ComparePairSetting
                
                
                Mapping of a column in a table.
- 
                
                    
                    srcIndexName: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    srcRowPartitions: array
                    
                    
                
                
                    srcRowPartitions
                
                
                
- 
                
                    
                    srcTable: 
                    
                    
                
                
                    srcTable
                
                
                Represents a table in compare pair with table and row partitions info, if any.
- 
                
                    
                    tgtIndexName: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    tgtRowPartitions: array
                    
                    
                
                
                    tgtRowPartitions
                
                
                
- 
                
                    
                    tgtTable: 
                    
                    
                
                
                    tgtTable
                
                
                Represents a table in compare pair with table and row partitions info, if any.
- 
                
                    
                    validationStatus: string
                    
                    
                     
                    
                
                
                Allowed Values:[ "NeverValidated", "Validated" ]enum for compare pair validation status.
- 
                
                    
                    validationTime: string
                    
                    
                     (date-time) 
                    
                
                
                
Match All
    
        
    
        
    
    Show Source
    
    
    
    
    
    
    
Nested Schema : BaseObject_2
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    createdOn: string
                    
                    
                     (date-time) 
                    
                
                
                Pattern:YYYY-MM-DDTHH:mm:ss.sssZExample:2024-02-03T10:15:30Z
- 
                
                    
                    id: integer
                    
                    
                     (int64) 
                    
                
                
                Object Id.
- 
                
                    
                    name: string
                    
                    
                     
                    
                
                
                Object Name.
- 
                
                    
                    updatedOn: string
                    
                    
                     (date-time) 
                    
                
                
                Pattern:YYYY-MM-DDTHH:mm:ss.sssZExample:2024-02-03T10:15:30Z
Nested Schema : ComparePairInDetailsView-allOf[1]
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
objectNested Schema : ComparePairInDetails-allOf[2]
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
objectNested Schema : EnscribeAttribute
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    default: boolean
                    
                    
                     
                    
                
                
                
- 
                
                    
                    defaultValue: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    enscribeName: string
                    
                    
                     
                    
                
                
                Allowed Values:[ "AltKey", "Dictionary", "Record", "ExpandDDLRedefs", "ExpandDDLResolveDupAppend", "ExpandDDLResolveDupPrepend", "ExpandDDLExpandGroupArrays", "ExpandDDLFixLongNames", "ExpandDDLMaxColNameLen", "ExpandDDLSeparator", "ExpandDDLZeroFill" ]
- 
                
                    
                    max: integer
                    
                    
                     
                    
                
                
                It is displayed when type is INTEGER.
- 
                
                    
                    min: integer
                    
                    
                     
                    
                
                
                It is displayed when type is INTEGER.
- 
                
                    
                    options: string
                    
                    
                     
                    
                
                
                It is displayed when type is ENUM.
- 
                
                    
                    type: string
                    
                    
                     
                    
                
                
                Allowed Values:[ "BOOLEAN", "ENUM", "INTEGER", "STRING" ]
- 
                
                    
                    value: string
                    
                    
                     
                    
                
                
                
Nested Schema : BaseObject_3
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    id: integer
                    
                    
                     (int64) 
                    
                
                
                Object Id.
- 
                
                    
                    name: string
                    
                    
                     
                    
                
                
                Object Name.
Nested Schema : group-allOf[1]
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
object400 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"
}