ExecuteJS

Execute JavaScript

Executing JavaScript is a request type that lies within the Internal Content Integration, facilitating the invocation of JavaScript functions. This request type comprises three essential parameters: FunctionName, FunctionParameter, and FunctionPayload.

  1. The FunctionName parameter is a string field intended to pass the corresponding function name used within the FunctionPayload.

  2. FunctionParameter represents the data field through which parameters are conveyed to the JavaScript function, requiring the parameters to be passed in JSON format.

  3. FunctionPayload serves as the parameter designated for authoring JavaScript code to be executed dynamically at runtime, facilitating the attainment of desired outputs through its utilization.

Example