Skip to main content

GetApplicationScriptVariable

Get program extension constants defined in the application

Description

Obtains the constant information of the program extensions in the application by specifying them.

Method

GET

Request URL Format

/api/v0/applications/:app-id/script/:var-name

URL Params

app-id    : Application ID(Specify the ID entered from the Hexabase screen)
var-name : Program extension constant name

Request URL Sample

GET https://api.xxx.com/api/v0/applications/624bea3a879f4e8d8b5dcc6f/script/VARIABLE_1

Response Sample

Status 200

{
"var_name": "VARIABLE_1",
"desc": "description for VARIABLE_1",
"value": "value1",
"enabled": true
}

Status 400

{
"code": 101,
"error_code": "INVALID_PARAMS",
"message": "script variable not found" // The specified constant name does not exist
}