refreshResourceCache

Refresh the cache on a resource. Also see updateResourceCacheConfig for enabling and disabling caching.

Note: This web services operation is different from the procedure of the same name, which is in the resource tree under /lib/resource.

Location

/services/webservices/system/admin/resource/operations/

Request Elements

path: The path of the resource with caching enabled.

type: The type of the resource can be either TABLE or PROCEDURE.

Response Elements

N/A

Faults

IllegalArgument: If the path is malformed or an illegal type is provided.

IllegalState: If the cache is disabled or the resource type does not support caching.

NotFound: If the resource or any portion of the path to the resource does not exist.

Security: If the user does not have READ access on all items in path other than the last one.

Security: If the user does not have WRITE access to the last item in path.

Security: If the user does not have the ACCESS_TOOLS right.

ServerError: If any problems with connecting to or retrieving data from the data source when refreshing.