Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescription
scriptNameThe name of the API Action Script that is to be executed.
argsA string which is passed to the named action script as an argument for that script. If you appropriately encode the value (such as a json string) you can pass multiple arguments. Are are however responsible for decode and extracting the individual arguments from the string value.
apiKeyapi key provided by Noojee Support


Sample query:Curl Example

Code Block
languagexmlbash
curl "https://<server host>/servicemanager/rest/ActionScriptAPI/InvokeScript?
scriptName=testApiAction&
args=my%20arg&
apiKey=f863246a-xxxxx"


Sample success response:

Code Block
languagejs
{
result: ""
code: 0
message: "OK"
}

...