cleartablecache

API Name

cleartablecache

Description

Provides the feature to clear table cache for the Enterprise Server. User can clear a single table cache, multiple table cache or ALL table caches.

REST Methods

DELETE

Precondition

Server Manager and Agent must be running.

Input Params

Sample Request

{"tableName":"F0113","environmentName":"JDV920"}

Note: Entering the tableName and environmentName as "ALL" will clear all the table caches.

Return

HTTP status 200 is returned.

Sample Response

{ "tableName":"ALL", "environmentName":"ALL", "clearTableCache":[ { "instanceName":"rajespdbl0905", "status":"SUCCESS", "statusMessage":"Cleared table cache with success." }, { "instanceName":"rajespybl0905", "status":"SUCCESS", "statusMessage":"Cleared table cache with success." } ]}

Exception

Throws an exception if the operation fails for any reason.