Generate Column Mapping Pairs
post
http://{host}:{port}/veridata/v1/services/configuration/cps/{Id}/colmap
Required Role: Administrator, SuperUser, CommandLineOperator
Create Column Mapping Pairs for viewing purpose. This will not save the column mappings in repository. This will only generate column mapping pairs to view the compare format and other information.
Request
Path Parameters
-
Id(required): integer(int64)
compare pair id
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
200 Response
Column Mapping Pairs created successfully.
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:
object
Defines 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.
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.