Validate Trigger Script
Validate a Trigger CRMScript.
This will check that the syntax is correct, but not execute the script.
Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Path Parameters
The id of the CRMScript Trigger to validate
Response
OK
Object for returning information when validating a CRMScript Carrier object for CRMScriptResult. Services for the CRMScriptResult Carrier is available from the CRMScript Agent.
True if the CRMScript was successfully validated. If false, see the error message for details
Deprecated, see ErrorInformation instead. Contains the error message for a non-valide CRMScript
Deprecated, see ErrorInformation instead. The line number containing the incorrect syntax, if available
Object containing error information for a CRMScript Carrier object for CRMScriptErrorInfo. Services for the CRMScriptErrorInfo Carrier is available from the CRMScript Agent.
This will contain transpiled code. In case of Typescript, this will then contain the executable JavaScript
The unique ids of all depencies of this script (all resolved includes)
Array of source maps showing where in the original code a specific line originated from
Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Field property dictionary mapping field names to field access rights.
Related topics
Validate Trigger ScriptValidate Trigger Script By Unique IdSave Trigger Script By Unique IdCreating a trigger :: Script