Return settings
- Parameters
- Advanced call ?
Function ReturnSettings(Val Filter = Undefined) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Filter | --filter | String, Array of String | ✖ | Filter by setting name or names for retrieval |
Returns
Arbitrary - Settings structure, specific setting value, or handler object (on error)
| Parameter | Description |
|---|---|
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
Result = OPI_HTTPRequests.NewRequest()
.Initialize()
.ReturnSettings();
Result
{
"gzip": true,
"SplitArrayParams": false,
"ArraysSquareBrackets": false,
"URLencoding": true,
"EncodeRequestBody": "UTF-8",
"BodyFieldsAtOAuth": false,
"MaxAttempts": 0,
"MaxRedirects": 5
}