API - Validate a Calculation
action - validcalc
This call is used to validate the syntax of a calculation. Note that it does not test whether any field/variable names in the calculation are valid fields of a particular data record, since calculations can be used in situations where any variable name could be passed as part of override data. This test is therefore solely checking the syntax of a calculation, including the validity of any function calls within the calculation.
Note that the available functions and their syntax should not vary by account, but it is still necessary to pass an account and apikey to pass standard API calling security.
Sample Request
Sample Response
If a calculation's syntax is not valid, an error message will state the first issue found.
Sample Request
Sample Response
Other API Help Pages
Introduction
IntroductionActions
Read a Record | Update a Record | Add a Record | List Records | Evaluate a Template | Execute an Action Script | Apply a Blueprint | Get a Blueprint | Add a File | Get a File | Get/Set a Persistent Setting Value | Get Category Values | Get Group Memberships of a User | Get Members of a Group | Load Data | Get Metadata for a Record Type | Get Metadata on Calculation Functions | Trigger an Event | Get Usage Statistics | Validate a Calculation | Validate a Filter ExpressionDiscussion Topics
Linking Records | Automation - Automations and EventsReturn to Developer Help