/api/dataSets/formula/validateValidates the formula of a custom member. Resource InformationResource URL | https://service.belladati.com/api/dataSets/formula/validate |
---|
HTTP Method | POST
|
---|
Request Parametersdata | Form contents to submit in following JSON format: formula | formula of the custom member |
|
Code Block |
---|
{"formula": "return firstValue('L_ABC')"} |
|
Response StructureThe endpoint will return either "VALID" or "INVALID". In case the formula is invalid, the response includes the error detail.
Sample Request / ResponseUsing 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
|
|