Scripts
  • 23 May 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Scripts

  • Dark
    Light

Article Summary


 POST   /Scripts


Calls a VisualVault microservice.

Query Parameters
ParameterTypeDescription
nameStringThe name of the script.
idStringThe script ID.
postAsJsonBoolPost the data as JSON?
transformBoolReturn the data in raw JSON format?
Response Codes
CodeDescription
400Bad Request
401Unauthorized


 POST   /Scripts/{id}


Run a microservice script by ID.

Route Parameters
ParameterTypeDescription
id*GuidThe microservice id.
Response Codes
CodeDescription
400Bad Request


 POST   /Scripts/CompleteWorkflowScript


Complete a workflow script.

Body Parameters
ParameterTypeDescription
executionIdGuidThe execution ID.
workflowVariablesStringList of workflow variables.
Response Codes
CodeDescription
200OK
400Bad Request
500Internal Server Error


 GET   /Scripts/{formTemplateId}/FormScriptFile


Returns the scripts of a form in a self-contained file.

Route Parameters
ParameterTypeDescription
formTemplateId*GuidThe form template ID.
Query Parameters
ParameterTypeDescription
formChIdGuidChID of the form.
isPreviewBoolIs this a form preview?

Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses