To set a set of global variables, use the URL <baseURL>/api/variables.
| HTTP method | URI | Body |
|---|---|---|
| Put | <baseURL>/api/variables | {"variables": { "variablename": <value> }} |
| Parameter | Description | Parameter type | Data type |
|---|---|---|---|
| variables | Variable names (required). | body | string |
Body schema:
{"variables": {
"variablename": <value>
}}
Example:
https://<Hostname>/AppServer/api/variables
Body:
{"variables": {"FullSync": True, "MyVariable": 42}}