Page tree
Skip to end of metadata
Go to start of metadata

/api/dataSets/formula/validate

Validates the formula of a custom member.

Resource Information

Resource URL

https://service.belladati.com/api/dataSets/formula/validate

HTTP Method

POST

Request Parameters

data

Form contents to submit in following JSON format:

formulaformula of the custom member
{"formula": "return firstValue('L_ABC')"}

Response Structure

The endpoint will return either "VALID" or "INVALID". In case the formula is invalid, the response includes the error detail.

Sample Request / Response

Using curl:


curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" -d "data={\"formula\": \"return firstValue('L_ABC')\"}" https://service.belladati.com/api/dataSets/formula/validate


  • No labels