/rest/api/scriptlibrary

Service to provide access to script-library logic.

POST v2/classes

Calls the specified remote script class method with given parameter map. The return value can be found in response map under key 'result'.

Response
application/json; charset=UTF-8

Map -  

Request
application/json; charset=UTF-8

Parameter Type
Type
Name
Description
Optional
Default Value
PATH
String  
className
The name of the script library.
false
 
PATH
String  
methodName
The name of the method to call.
false
 
FORM
parameters
The method parameter map using JSON primitive types and ISO-8601 date values.
false
 

Status Codes

Status Code
Description
604
If the specified remote method is not accessible or parameter are invalid.
801
If runtime error occurs during script execution.

GET v2/classes

Returns the remote method documentation for given class and method name. Specify accepted language in request header.

Response
text/plain

String -  

Request
text/plain

Parameter Type
Type
Name
Description
Optional
Default Value
PATH
String  
className
The name of the script library.
false
 
PATH
String  
methodName
The name of the method to call.
false
 

Status Codes

Status Code
Description
604
If the specified remote method is not accessible.