You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SDK is implemented so that when one of its API method is invoked, it filters out null or undefined method parameters (mapped to an API Endpoint's query parameter).
434
+
- In its legacy state, the SDK will also filter parameters of boolean type and equal to false, and parameters of type integer/number and equal to 0.
435
+
- In its modern state, the SDK will keep and send such parameters.
436
+
437
+
A new ApiClient property (accessed using getUseLegacyParameterFilter and setUseLegacyParameterFilter) is introduced to control the method used to filter out such parameters.
438
+
439
+
When UseLegacyParameterFilter is true, the SDK will use the legacy filter method.
440
+
441
+
*The UseLegacyParameterFilter default value is currently equal to true.* You will need to change the UseLegacyParameterFilter value so that the SDK uses modern filter method.
442
+
This choice of default value has been made to facilitate the transition from legacy to modern and accurate parameter filtering, without running the risk to affect existing applications with a change of behavior.
443
+
444
+
```javascript
445
+
constclient=platformClient.ApiClient.instance;
446
+
// To use modern and accurate parameter filtering, set UseLegacyParameterFilter to false
447
+
client.setUseLegacyParameterFilter(false);
448
+
```
449
+
431
450
### Setting an intermediate Gateway
432
451
433
452
The Genesys Cloud Login and API URL path can be overridden if necessary (i.e. if the Genesys Cloud requests must be sent through to an intermediate API gateway or equivalent).
0 commit comments