Table of Contents

Search

  1. Preface
  2. Informatica Intelligent Cloud Services REST API
  3. Platform REST API version 2 resources
  4. Platform REST API version 3 resources
  5. Data Integration REST API
  6. File Ingestion and Replication REST API
  7. Streaming Ingestion and Replication REST API
  8. Model Serve REST API
  9. RunAJob utility
  10. ParamSetCli utility
  11. REST API codes
  12. REST API resource quick references

REST API Reference

REST API Reference

Validating expressions

Validating expressions

Use this resource to validate expressions.

POST Request

To validate an expression, use the following URI:
/saas/api/v2/expression/validate
Use the following attributes in the request body:
Field
Type
Required
Description
expr
String
Yes
The expression to validate.
connectionId
String
Yes
Connection ID.
objectName
String
Yes
Name of the source or target object.
isSourceType
Boolean
Yes
Whether the expression is for a source object. Values are True or False.
If the expression is valid, the response returns a message that says the expression is valid. If the expression is not valid, the response returns an error.

POST Example

To validate an expression, you might use the following request:
POST <serverURL>/api/v2/expression/validate Content-Type: application/json Accept: application/json { "@type":"expressionValidation", "expr":"REPVERSION", "connectionId":"0000010B000000000004", "objectName":"OPB_REPOSIT", "isSourceType":true }

0 COMMENTS

We’d like to hear from you!