CDV July2024 (REST-API) Reference en
CDV July2024 (REST-API) Reference en
CDV July2024 (REST-API) Reference en
July 2024
Table of Contents 3
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
4 Table of Contents
Preface
Read the REST API Reference to learn how you can use Data Validation REST APIs to work with test cases,
reports, test suites, and saved SQL queries.
Informatica Resources
Informatica provides you with a range of product resources through the Informatica Network and other online
portals. Use the resources to get the most from your Informatica products and solutions and to learn from
other Informatica users and subject matter experts.
Informatica Documentation
Use the Informatica Documentation Portal to explore an extensive library of documentation for current and
recent product releases. To explore the Documentation Portal, visit https://docs.informatica.com.
If you have questions, comments, or ideas about the product documentation, contact the Informatica
Documentation team at [email protected].
https://network.informatica.com/community/informatica-network/products/cloud-integration
Developers can learn more and share tips at the Cloud Developer community:
https://network.informatica.com/community/informatica-network/products/cloud-integration/cloud-
developers
https://marketplace.informatica.com/
5
Data Integration connector documentation
You can access documentation for Data Integration Connectors at the Documentation Portal. To explore the
Documentation Portal, visit https://docs.informatica.com.
To search the Knowledge Base, visit https://search.informatica.com. If you have questions, comments, or
ideas about the Knowledge Base, contact the Informatica Knowledge Base team at
[email protected].
Subscribe to the Informatica Intelligent Cloud Services Trust Center to receive upgrade, maintenance, and
incident notifications. The Informatica Intelligent Cloud Services Status page displays the production status
of all the Informatica cloud products. All maintenance updates are posted to this page, and during an outage,
it will have the most current information. To ensure you are notified of updates and outages, you can
subscribe to receive updates for a single component or all Informatica Intelligent Cloud Services
components. Subscribing to all components is the best way to be certain you never miss an update.
To subscribe, on the Informatica Intelligent Cloud Services Status page, click SUBSCRIBE TO UPDATES. You
can choose to receive notifications sent as emails, SMS text messages, webhooks, RSS feeds, or any
combination of the four.
To find online support resources on the Informatica Network, click Contact Support in the Informatica
Intelligent Cloud Services Help menu to go to the Cloud Support page. The Cloud Support page includes
system status information and community discussions. Log in to Informatica Network and click Need Help to
find additional resources and to contact Informatica Global Customer Support through email.
The telephone numbers for Informatica Global Customer Support are available from the Informatica web site
at https://www.informatica.com/services-and-training/support-services/contact-us.html.
6 Preface
Chapter 1
To use the REST APIs, you need a valid Informatica Intelligent Cloud Services login and an understanding of
REST API guidelines.
To configure a request using a REST API, use the appropriate resource and method, along with the applicable
objects. Data Validation returns the requested information, performs the requested task, or returns an error
and related messages.
Login
Use this resource to log into Informatica Intelligent Cloud Services when you use resources that require the
IDS-SESSION-ID in the call header. The IDS-SESSION-ID is included in a successful login response.
POST request
Use the following URL:
<login URL>/identity-service/api/v1/Login
The login URL includes the region where your organization is located and the Informatica Intelligent Cloud
Services domain, informaticacloud.com. You can find your organization's login region by opening the
Informatica Intelligent Cloud Services log in page. The regional login URL is located in the browser's address
bar before you log in to Informatica Intelligent Cloud Services.
7
POST response
Returns the user object if the request is successful. Returns the error object if errors occur.
sessionId String REST API session ID for the current session. Use in most REST API request headers.
timeZoneId String Time zone of the user. Time zone honors Daylight Saving Time. For more information,
see “Time zone codes” on page 8.
• ACT
• AET
• Africa/Cairo
• Africa/Casablanca
• Africa/Johannesburg
• Africa/Nairobi
• America/Barbados
• America/Bogota
Login 9
• Atlantic/Cape_Verde
• Atlantic/South_Georgia
• Australia/Lord_Howe
• Australia/Perth
• Brazil/Acre
• Brazil/DeNoronha
• Brazil/East
• Brazil/West
• BST
• CNT
• CTT
• Europe/Amsterdam
• Europe/Athens
• Europe/Belgrade
• Europe/Berlin
• Europe/Brussels
• Europe/Bucharest
• Europe/Budapest
• Europe/Copenhagen
• Europe/Istanbul
• Europe/London
• Europe/Luxembourg
• Europe/Madrid
• Europe/Moscow
• Europe/Paris
• Europe/Prague
• Europe/Rome
• Europe/Stockholm
• Europe/Vienna
• Europe/Warsaw
• Europe/Zurich
• GMT
• HST
• Indian/Mauritius
• IST
• JST
• Pacific/Apia
• Pacific/Auckland
• Pacific/Chatham
Login 11
Chapter 2
POST /datavalidation-service/api/v1/testcase
POST request
12
Field Required? Description
{"formatId":"Parquet","@type":"dataForm
at","dataFormatAttributes": {}}
Flat file
For flat file connections, specify the advanced
parameters to determine how the flat file must be
parsed.For example, enter:
{ "srcFFAttrs" :{ "delimiter" :
"<value>" , "textQualifier" :
"<value>" , "escapeChar" : "<value>" ,
"headerLineNo" : <value> ,
"firstDataRow" : <value> }}
{"formatId":"Parquet","@type":"dataForm
at","dataFormatAttributes": {}}
Flat file
For flat file connections, specify the advanced
parameters to determine how the flat file must be
parsed.For example, enter:
{ "srcFFAttrs" :{ "delimiter" :
"<value>" , "textQualifier" :
"<value>" , "escapeChar" : "<value>" ,
"headerLineNo" : <value> ,
"firstDataRow" : <value> }}
colMappings Yes Defines the name, type, precision, and scale for each
column mapping. Use the following syntax to map
columns in the first connection and second
connection:
"colMappings": [
{
"aggrFunc":
"<function1,function2,functionn>",
"leftColName": "<value>",
"leftColType": "<value>",
"rightColName": "<value>",
"rightColType": "<value>",
"rightColPrecision": <value>,
"rightColScale": <value>,
"leftColPrecision": <value>,
"leftColScale": <value>,
},
{
"leftColName": "<value>",
"leftColType": "<value>",
"rightColName": "<value>",
"rightColType": "<value>",
"rightColPrecision": <value>,
"rightColScale": <value>,
"leftColPrecision": <value>,
"leftColScale": <value>,
"aggrFunc": "min"
}
],
Use the aggrFunc field to define the aggregation
functions that Data Validation must use to compare
the table. Separate multiple aggregation functions
with a comma. The aggregation function names must
be in uppercase.
An aggregation functions test retrieves summarized
information about the data contained in the data
sources. Use aggregation to verify whether all
records were moved or to identify incorrect logic in
WHERE clauses.
Based on the data type of the columns, you can use
one or more of the following aggregation functions:
- COUNT. Counts the number of rows that contain
non-null values for a string or numeric column.
- COUNT_ROWS. Counts the number of rows for a
string or numeric column. Includes rows that
contain nulls.
- MIN. Calculates the minimum value for a numeric
column.
- MAX. Calculates the maximum value for a numeric
column.
- AVG. Calculates the average value of a numeric
column.
- SUM. Calculates the total value of a numeric
column.
The following snippet shows a POST request sample to create a test case:
{
"testCaseName": "PCToCDITestCase",
"frsDocLocation": "{\"type\":\"Project\",\"id\":\"436TU7N2RsicOmYQGVpWAl\",\"path
\":\"SG\"}",
"description": "",
"leftConnId": "014N8B0B000000000AGX",
"leftConnType": "Oracle",
"leftTableName": "EMPS_SNOW",
"leftTablePk": ["EMPID"],
"rightConnId": "014N8B0B000000000AGX",
"rightConnType": "Oracle",
"leftConnPath": "",
"rightConnPath": "",
"leftConnAdvancedParams": {},
"rightConnAdvancedParams": {},
"rightTableName": "EMPS_UPPERLOWERCASEFIELD",
"rightTablePk": ["emp id"],
"runtimeEnvId": "014N8B25000000000006",
"stagingConnectionId": "014N8B0B0000000003HI",
"colMappings": [{
"aggrFunc": "",
"leftColName": "NICKNAME",
"leftColType": "string",
If the test case was created successfully, the POST request returns a 200 Successful operation
response and returns the following response fields:
If the test case creation failed, the POST request returns a 400 Bad request response or a 500
Internal Server Error response. It also returns the following response fields:
debugMessage String Message that can be used for debugging the issue.
PUT /datavalidation-service/api/v1/testcase/{testCaseId}
{"formatId":"Parquet","@type":"dataForm
at","dataFormatAttributes": {}}
Flat file
For flat file connections, specify the advanced
parameters to determine how the flat file must be
parsed.For example, enter:
{ "srcFFAttrs" :{ "delimiter" :
"<value>" , "textQualifier" :
"<value>" , "escapeChar" : "<value>" ,
"headerLineNo" : <value> ,
"firstDataRow" : <value> }}
{"formatId":"Parquet","@type":"dataForm
at","dataFormatAttributes": {}}
Flat file
For flat file connections, specify the advanced
parameters to determine how the flat file must be
parsed.For example, enter:
{ "srcFFAttrs" :{ "delimiter" :
"<value>" , "textQualifier" :
"<value>" , "escapeChar" : "<value>" ,
"headerLineNo" : <value> ,
"firstDataRow" : <value> }}
colMappings Yes Defines the name, type, precision, and scale for each
column mapping. Use the following syntax to map
columns in the first connection and second
connection:
"colMappings": [
{
"aggrFunc":
"<function1,function2,functionn>",
"leftColName": "<value>",
"leftColType": "<value>",
"rightColName": "<value>",
"rightColType": "<value>",
"rightColPrecision": <value>,
"rightColScale": <value>,
"leftColPrecision": <value>,
"leftColScale": <value>,
},
{
"leftColName": "<value>",
"leftColType": "<value>",
"rightColName": "<value>",
"rightColType": "<value>",
"rightColPrecision": <value>,
"rightColScale": <value>,
"leftColPrecision": <value>,
"leftColScale": <value>,
"aggrFunc": "min"
}
],
Use the aggrFunc field to define the aggregation
functions that Data Validation must use to compare
the table. Separate multiple aggregation functions
with a comma. The aggregation function names must
be in uppercase.
An aggregation functions test retrieves summarized
information about the data contained in the data
sources. Use aggregation to verify whether all
records were moved or to identify incorrect logic in
WHERE clauses.
Based on the data type of the columns, you can use
one or more of the following aggregation functions:
- COUNT. Counts the number of rows that contain
non-null values for a string or numeric column.
- COUNT_ROWS. Counts the number of rows for a
string or numeric column. Includes rows that
contain nulls.
- MIN. Calculates the minimum value for a numeric
column.
- MAX. Calculates the maximum value for a numeric
column.
- AVG. Calculates the average value of a numeric
column.
- SUM. Calculates the total value of a numeric
column.
PUT response
If the test case was updated successfully, the PUT request returns a 200 Successful operation
response and returns the following response fields:
If the test case update failed, the PUT request returns a 400 Bad request response. If the test case ID
was not found, the PUT request returns a 404 Test Case Not Found response. If there was a server
issue, the PUT request returns a 500 Internal Server response.
debugMessage String Message that can be used for debugging the issue.
POST /datavalidation-service/api/v1/testcase/run/{testCaseId}
POST request
When you open a test case, the numeric value that you see in the URI is the test case ID. For example, in
the following image, the test case ID is 41846:
If the test case ran successfully, the POST request returns a 200 Successful operation response and
returns the following response fields:
sequenceName String Instance name or name of the test case job. The sequence name uses the following
format: <test_case_name>__<counter>. The counter is set to 001 when you run a
test case for the first time. The counter is incremented by 1 for each test case run
thereafter.
startDateTime String Date and time when the test case run started.
If the test case run failed, the POST request returns a 400 Bad request response. If the test case ID was
not found, the POST request returns a 404 Test Case Not Found response. If the test case run failed,
the POST request returns a 500 Internal Server response.
debugMessage String Message that can be used for debugging the issue.
GET /datavalidation-service/api/v1/testcase/{testCaseId}
GET request
When you open a test case, the numeric value that you see in the URI is the test case ID. For example, in
the following image, the test case ID is 41846:
If the test case ID was found, the GET request returns a 200 Successful operation response and
returns the following response fields:
stagingConnectionId String Connection ID of the flat file connection that Data Validation uses to
stores reports.
leftConnPath String The path of the first connection. Applies to Amazon Redshift v2 and
Amazon S3 v2 connections.
rightConnPath String The path of the second connection. Applies to Amazon Redshift v2 and
Amazon S3 v2 connections.
createDatetime String The date and time when the test case was created.
updateDatetime String The date and time when the test case was last updated.
keepDIAssets String Defines whether you want to save the Data Integration mappings and
tasks that Data Validation creates when it runs the test case.
The value true indicates that the Data Integration assets will be saved
after the test case run.
The value false indicates that the Data Integration assets will not be
saved after the test case run.
ignoreCase String Defines whether you want to ignore casing differences in the data.
The value true indicates that the casing differences in the data will be
ignored.
The value false indicates that the casing differences in the data will be
considered as a mismatch.
trimString String Defines whether you want to trim leading and trailing white spaces in
string values.
The value true indicates that the leading and trailing white spaces in
string values will be trimmed.
The value false indicates that the leading and trailing white spaces in
string values will be retained.
Default is false.
badRecordLimit String Defines the maximum number of unmatched, extra, and missing records
to show in the detailed test results.
Default is 100.
colMappings Array Defines the name, type, precision, and scale for each column mapping.
If the test case ID is incorrect, the GET request returns a 400 Bad request response. If the test case ID
was not found, the GET request returns a 404 Test Case Not Found response. If there was a server
issue, the GET request returns a 500 Internal Server response.
debugMessage String Message that can be used for debugging the issue.
GET /datavalidation-service/api/v1/testcase/sequences/{testCaseId}
GET request
Use the test case ID to view the run sequences for a test case.
When you open a test case, the numeric value that you see in the URI is the test case ID. For example, in
the following image, the test case ID is 25961:
If the test case ID was found, the GET request returns a 200 Successful operation response and
returns the following response fields:
sequenceName String Instance name or name of the test case job. The sequence name uses the
following format: <test_case_name>__<counter>. The counter is set to
001 when you run a test case for the first time. The counter is incremented by
1 for each test case run thereafter.
startDateTime String Date and time when the test case run started.
finishDateTime String Date and time when the test case run completed.
duration String Number of milliseconds for which the test case ran.
mappingStrategyType String Displays one of the following values based on the comparison method used:
- FULL. Uses the Value Test - Compare Entire Table method in which Data
Validation compares the entire table based on the actual data values.
- AGGR_FUNC. Uses the Aggregation Functions Test method in which Data
Validation uses aggregation functions to compare the table.
If the test case ID is incorrect, the GET request returns a 400 Bad request response. If the test case ID
was not found, the GET request returns a 404 Test Case Not Found response. If there was a server
issue, the GET request returns a 500 Internal Server response.
debugMessage String Message that can be used for debugging the issue.
GET /datavalidation-service/api/v1/testcase/history/{testCaseRunId}
GET request
Use the test case run ID to view the history of a test case run.
GET response
If the test case ID was found, the GET request returns a 200 Successful operation response and
returns the following response fields:
sequenceName String Instance name or name of the test case job. The sequence name uses the
following format: <test_case_name>__<counter>. The counter is set to
001 when you run a test case for the first time. The counter is incremented by
1 for each test case run thereafter.
startDateTime String Date and time when the test case run started.
finishDateTime String Date and time when the test case run completed.
duration String Number of milliseconds for which the test case ran.
mappingStrategyType String Displays one of the following values based on the comparison method used:
- FULL. Uses the Value Test - Compare Entire Table method in which Data
Validation compares the entire table based on the actual data values.
- AGGR_FUNC. Uses the Aggregation Functions Test method in which Data
Validation uses aggregation functions to compare the table.
If the test case run ID is incorrect, the GET request returns a 400 Bad request response. If the test case
run ID was not found, the GET request returns a 404 Test Case Not Found response. If there was a
server issue, the GET request returns a 500 Internal Server response.
debugMessage String Message that can be used for debugging the issue.
GET /datavalidation-service/api/v1/report/summary/testcase/{testCaseId}/run/{testCaseRunId}
GET request
Use the test case ID and the test case run ID to download a summary report for a test case run.
When you open a test case, the numeric value that you see in the URI is the test case ID. For example, in
the following image, the test case ID is 41846:
38
When you open the report of a test case, the numeric value that you see in the URI after the
testCaseRunID parameter is the test case run ID. For example, in the following image, the test case run
ID is 25961:
GET response
If the test case ID and test case run ID were found, the GET request returns the following response fields:
finishDateTime String Date and time when the report was generated.
columns Array You see the column mapping along with the column name, type, scale,
precision, and details of the aggregation functions used.
connection_info String Connection name and table name of the first connection and second
connection.
If the test case ID or test case run ID was incorrect, the GET request returns a 500 Internal Server
response.
debugMessage String Message that can be used for debugging the issue.
GET /datavalidation-service/api/v1/report/detailed/testcase/{testCaseId}/run/{testCaseRunId}
GET request
Use the test case ID and the test case run ID to download a detailed report for a test case run.
When you open a test case, the numeric value that you see in the URI is the test case ID. For example, in
the following image, the test case ID is 41846:
When you open the report of a test case, the numeric value that you see in the URI after the
testCaseRunID parameter is the test case run ID. For example, in the following image, the test case run
ID is 25961:
If the test case ID and test case run ID were found, the GET request returns the following response fields:
detailed_report Array For each column in the first connection and second connection, you see the extra
rows in the second table, missing rows in the second table, and unmatched rows.
If the test case ID or test case run ID were incorrect, the GET request returns a 500 Internal Server
response.
debugMessage String Message that can be used for debugging the issue.
GET /datavalidation-service/api/v1/report/download/testcase/{testCaseId}/run/{testCaseRunId}
Use the test case ID and the test case run ID to download the report for a test case run.
When you open a test case, the numeric value that you see in the URI is the test case ID. For example, in
the following image, the test case ID is 41846:
When you open the report of a test case, the numeric value that you see in the URI after the
testCaseRunID parameter is the test case run ID. For example, in the following image, the test case run
ID is 25961:
GET response
If the test case ID and test case run ID were found, a report is downloaded in the Microsoft Excel format.
The data type match result shows whether the data types of the columns compared in both connection
tables match.
The report shows details about the missing, unmatched, and extra records in the job.
If the test case ID or test case run ID were incorrect, the GET request returns a 500 Internal Server
response.
debugMessage String Message that can be used for debugging the issue.
POST /datavalidation-service/api/v1/testsuite
POST request
45
Field Required? Description
testCases Yes For each test case that you want to include in the test suite, enter the following
details:
- testCaseId. ID of the test case.
- name. Name of the test case.
- folder. Folder where the test case is saved.
- project. Project where the test case is saved.
The following snippet shows a POST request sample to create a test suite:
{
"name": "CDVTestSuite",
"frsDocLocation": "{\"type\":\"Project\",\"id\":\"ifwKGemVFMOcWFKC9WvqU8\",\"path
\":\"CDV\"}",
"testCases": [
{
"name": "TestReqFieldsWithoutVerboseMode",
"folder": "",
"project": "CDV",
"testCaseId": "53201"
},
{
"name": "TestReqFieldsWithoutKeepDIAssetsTrimStringIgnoreCase",
"folder": "",
"project": "CDV",
"testCaseId": "53203"
}
]
}
POST response
If the test suite was created successfully, the POST request returns a 200 Successful operation
response and returns the following response fields:
debugMessage String Message that can be used for debugging the issue.
PUT /datavalidation-service/api/v1/testsuite/{testSuiteId}
PUT request
testCases Yes For each test case that you want to update in the test suite, enter the following
details:
- testCaseId. ID of the test case.
- name. Name of the test case.
- folder. Folder where the test case is saved.
- project. Project where the test case is saved.
PUT response
If the test suite was updated successfully, the PUT request returns a 200 Successful operation
response and returns the following response fields:
testCases Array For each test case that was updated in the test suite, you see the following details:
- testCaseId. ID of the test case.
- name. Name of the test case.
- folder. Folder where the test case is saved.
- project. Project where the test case is saved.
If the test suite update failed, the PUT request returns a 500 Internal Server Error response. It also
returns the following response fields:
debugMessage String Message that can be used for debugging the issue.
GET /datavalidation-service/api/v1/testsuite/run/{testSuiteId}
POST request
testCaseIdsToRun Array Enter the IDs of the test cases that you want to run in the test suite.
POST response
If the test cases in the test suite were run successfully, the POST request returns a 200 Successful
operation response and returns the following response fields:
testCaseIdsToRun Array You see the IDs of the test cases that were run.
debugMessage String Message that can be used for debugging the issue.
GET /datavalidation-service/api/v1/testsuite/{testSuiteId}
GET request
When you open a test suite, the numeric value that you see in the URI is the test suite ID. For example, in
the following image, the test suite ID is 1063:
If the test suite ID was found, the GET request returns a 200 Successful operation response and
returns the following response fields:
testCases Array For each test case within the test suite, you see the following details:
- testCaseId. ID of the test case.
- name. Name of the test case.
- folder. Folder where the test case is saved.
- project. Project where the test case is saved.
createDateTime String Date and time when the test suite was created.
updateDateTime String Date and time when the test suite was last updated.
If the test suite creation failed, the GET request returns a 500 Internal Server Error response. It also
returns the following response fields:
debugMessage String Message that can be used for debugging the issue.
POST /datavalidation-service/api/v1/savedSqlQuery
POST request
databaseType Yes Connection ID and database type for the saved SQL query.
51
Field Required? Description
databaseTypeName No Type of the database that the saved SQL query fetches data from.
Specify one of the following values:
- Amazon Redshift v2
- Databricks
- DB2
- Google BigQuery V2
- Microsoft Azure Synapse SQL
- MySQL
- Oracle
- PostgreSQL
- Snowflake Data Cloud
- SqlServer
connectionId Yes ID of the connection that Data Validation uses to validate the saved SQL
query.
When you open the connection in Administrator, the numeric value that you
see in the URL is the connection ID.
For example, if the URL is <Informatica Intelligent Cloud
Services URL>/cloudUI/products/administer/main/
ConnectionDetailsWS/014N8B0B000000000ATW/read, the connection
ID is 014N8B0B000000000ATW.
The following snippet shows a POST request sample to create a saved SQL query:
{
"savedSqlQuery": {
"name": "Saved_SQL_Query_EMP_DEPT",
"description": "Fetches employee details by joining Employee and Department
tables",
"query": "select * from employees e inner join dept d on e.did = d.id",
"databaseType": {
"id": "1",
"databaseTypeName": "Oracle"
},
"frsdocLocation": "SSQ"
},
"validationInfo": {
"connectionId": "0140EK0B0000000002W3"
}
}
If the saved SQL query was created successfully, the POST request returns a 200 Successful
operation response and the following response fields:
validationState String Validation status of the SQL query. Displays one of the following values:
- INVALID. The query is not valid. Fix the query and validate it again.
- VALID. The query is valid and can be used in a test case.
- NOT VALIDATED. The query has not been validated. You must validate the query to
use it in a test case.
If the saved SQL query creation failed, the POST request returns a 400 Bad request response or a 500
Internal Server Error response. It also returns the following response fields:
debugMessage String Message that can be used for debugging the issue.
requestId String String that uniquely identifies the request. Used for debugging purposes.
PUT /datavalidation-service/api/v1/savedSqlQuery/{savedSqlQueryId}/
PUT request
When you open a saved SQL query, the numeric value that you see in the URI is the saved SQL query ID.
For example, in the following image, the saved SQL query ID is 259:
databaseType Yes Connection ID and database type for the saved SQL query.
databaseTypeName No Type of the database that the saved SQL query fetches data from.
Specify one of the following values:
- Amazon Redshift v2
- Databricks
- DB2
- Google BigQuery V2
- Microsoft Azure Synapse SQL
- MySQL
- Oracle
- PostgreSQL
- Snowflake Data Cloud
- SqlServer
connectionId Yes ID of the connection that Data Validation uses to validate the saved SQL
query.
When you open the connection in Administrator, the numeric value that you
see in the URL is the connection ID.
For example, if the URL is <Informatica Intelligent Cloud
Services URL>/cloudUI/products/administer/main/
ConnectionDetailsWS/014N8B0B000000000ATW/read, the connection
ID is 014N8B0B000000000ATW.
The following snippet shows a PUT request sample to update a saved SQL query:
{
"savedSqlQuery": {
"name": "Saved_SQL_Query_EMP_DEPT",
"description": "Fetches employee details by joining Employee and Department
tables",
"query": "select * from employees e inner join dept d on e.did = d.id",
"databaseType": {
"id": "1",
"databaseTypeName": "Oracle"
},
"frsdocLocation": "SSQ"
},
"validationInfo": {
"connectionId": "0140EK0B0000000002W3"
}
}
PUT response
If the saved SQL query was updated successfully, the PUT request returns a 200 Successful operation
response and the following response fields:
validationState String Validation status of the SQL query. Displays one of the following values:
- INVALID. The query is not valid. Fix the query and validate it again.
- VALID. The query is valid and can be used in a test case.
- NOT VALIDATED. The query has not been validated. You must validate the query to
use it in a test case.
If the saved SQL query update failed, the POST request returns a 500 Internal Server Error response
and the following response fields:
debugMessage String Message that can be used for debugging the issue.
requestId String String that uniquely identifies the request. Used for debugging purposes.
GET /datavalidation-service/api/v1/savedSqlQuery/{savedSqlQueryId}/
GET request
When you open a saved SQL query, the numeric value that you see in the URI is the saved SQL query ID.
For example, in the following image, the saved SQL query ID is 259:
If the saved SQL query was found, the GET request returns a 200 Successful operation response and
the following response fields:
Field Description
databaseType Connection ID and database type for the saved SQL query.
id <>
databaseTypeName Type of the database that the saved SQL query fetches data from.
Displays one of the following values:
- Amazon Redshift v2
- Databricks
- DB2
- Google BigQuery V2
- Microsoft Azure Synapse SQL
- MySQL
- Oracle
- PostgreSQL
- Snowflake Data Cloud
- SqlServer
validationState Validation status of the SQL query. Displays one of the following values:
- INVALID. The query is not valid. Fix the query and validate it again.
- VALID. The query is valid and can be used in a test case.
- NOT VALIDATED. The query has not been validated. You must validate the query to use
it in a test case.
createDateTime Date and time when the saved SQL query was created.
updateDateTime Date and time when the saved SQL query was last updated.
If the saved SQL query was not found, the GET request returns a 500 Internal Server Error response
and the following response fields:
debugMessage String Message that can be used for debugging the issue.
requestId String String that uniquely identifies the request. Used for debugging purposes.
GET /datavalidation-service/api/v1/databaseType
GET request
Optionally, you can provide a specific connection ID as a parameter to get the database type of that
connection.
If you don't provide a connection ID, the API returns a list of all the supported database types for a saved
SQL query.
If you had provided a connection ID, the GET request returns a 200 Successful operation response and
the following response fields:
id String <>
databaseTypeName String If you provided a connection ID, displays the type of the database associated
with the specified connection ID.
If you had not provided a connection ID, displays the following list of all the
supported database types for a saved SQL query:
- Amazon Redshift v2
- Databricks
- DB2
- Google BigQuery V2
- Microsoft Azure Synapse SQL
- MySQL
- Oracle
- PostgreSQL
- Snowflake Data Cloud
- SqlServer
If there was a server issue, the GET request returns a 500 Internal Server response and the following
response fields:
debugMessage String Message that can be used for debugging the issue.
requestId String String that uniquely identifies the request. Used for debugging purposes.
C S
Cloud Application Integration community status
URL 5 Informatica Intelligent Cloud Services 6
Cloud Developer community system status 6
URL 5
T
D time zone codes
Data Integration community REST API 8
URL 5 trust site
description 6
I
Informatica Global Customer Support
U
contact information 6 upgrade notifications 6
Informatica Intelligent Cloud Services
web site 5
W
M web site 5
maintenance outages 6
R
REST API
time zone codes 8
60