Add a global variable.
POST/storage/globalvariables/add
The global variable is only visible for the user that created it. If variableName
is not provided, it is generated automatically.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
variableNamestring
The name of the variable to create. Default is auto-generated.
Example:
myVariable
variableValuestringrequired
The value to assign to the variable.
Example:
myValue
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
variableNamestringrequired
The variable name that was actually used.
Example:
myVariable
variableValuestringrequired
The value that was assigned to the variable.
Example:
myValue
{
"variableName": "myVariable",
"variableValue": "myValue"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}