I've worked out how to validate the existing or new rule for a cube, but can't find where in the documentation it shows how to attach. Does anyone know the function?
request:
Code: Select all
api/v1/Cubes('xxx')/tm1.CheckRules
Code: Select all
{"Rules": "this is an error"}
Code: Select all
{
"@odata.context": "../$metadata#Collection(ibm.tm1.api.v1.RuleSyntaxError)",
"value": [
{
"LineNumber": 1,
"Message": "Syntax error on or before: \"\nthis is an error\n missing left square bracket \" "
}
]
}
Dan