Generate Mapping Objects using the Mapping Rules

post

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

Required Role: Administrator, SuperUser, CommandLineOperator

Generate mapping objects for viewing purpose.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Match All
Show Source
Example:
{ "exactName":false, "wildCard":[ { "srcLike":true, "srcPattern":"EMP%", "tgtLike":true, "tgtPattern":"EMP%" } ], "excludeViews":false, "mapTablePartitionName":true, "sourceConnectionId":1023, "targetConnectionId":1024, "srcSchemaObjectName":"VERIDATA", "srcCatalogObjectName":"ORCL1", "tgtSchemaObjectName":"VERIDATA_TGT", "tgtCatalogObjectName":"ORCL1_TGT" }
Nested Schema : PatternMapping
Type: object
Show Source
Nested Schema : wildCard
Type: object
Map Source and Target Tables Using % OR * Wildcard Pattern. % or * should be used either at the start or end of the pattern. This will be used only if the exactName is set to false.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successfully generated compare pairs.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : MappedObject
Type: object
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 : 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 : Table
Type: object
Defines a table.
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

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