HomeGuidesDeveloper HubRelease Notes
Get supportBook a chat
Developer Hub

FieloPLT.CacheAPI class

The Cache API Class allows you to call the Fielo Platform Cache in Apex code.

call(jsonCallInfo)

static object call(String jsonCallInfo)

Executes internal cache methods.

Parameters

ParameterTypeDescription
jsonCallInfoStringValid strings:
  • '{"method":"resetAll"}'
  • '{"method":"reset","params":["OPTION"]}'
Valid OPTION values:

ANALYTICS, BEHAVIORS, CAPS, CHALLENGES, CRITERIA, CURRENCIES, LIBRARIES, PROGRAMS, PROMOTIONS, SEGMENTS, VERSIONS

Example

The following example would refresh the entire Fielo Platform Cache (Organization-Wide).

FieloPLT.CacheAPI.call('{"method":"resetAll"}');