No Translation available yet
You have Slovak selected as language but this page has not been translated yet. Translate the page or view the content in the default space language below.
Display default
/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: formula | formula 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
|