v1

latestOpenAPI 3.0.12026-07-245277551.2 MB
Reports

Validate a custom cdf for a report

In order to create a custom cdf the formula needs to be validated.

Notes:

  • Column is generated over the name, only with alphanumerical values and lower case. Special characters are replaced with underscore(_)
  • A valid formula could be a string concatenation.
  • A valid formula could be a math operation.
  • A valid formula is a list of objects that contains kind and value.
  • kind: cdf | separator | operator | operand | parenthesis.
  • value: It's the value of the cdf, separator, operator, operand or parenthesis.
  • Separator: Any value.
  • Operator: Valid operators.
  • Operand: Numeric values.
  • Parenthesis: ( or ).
put/datainsights/v1.1/reports/{report_id}/custom_cdfs/validate

Path parameters

report_idinteger required

Report id of the resource

Headers

X-PROPERTY-IDinteger required

Property id of the client

Request body

namestring required

Report custom cdf name

kind'String' | 'Number' | 'Dynamic' required

Report custom cdf kind

Example request

{
  "name": "Full address",
  "kind": "String"
}

Response

OK

namestring required

Report custom cdf name

kind'String' | 'Number' | 'Dynamic' required

Report custom cdf kind

Example response

{
  "name": "Full address",
  "kind": "String"
}