Application Programming Interface Guide > Web Services Operations > Operations Reference > clearResourceStatistics
 
clearResourceStatistics
Clear statistics data on the specified resource. Statistics can be gathered on data sources and tables.
Resource statistics can be refreshed directly by calling the refreshResourceStatistics operation. Statistics become available next time a refresh happens.
Location
/services/webservices/system/admin/resource/operations/
Note: This web services operation is different from the procedure of the same name, which is in the resource tree under /lib/resource.
Request Elements
path: The path of the cached resource.
type: The resource type. Valid type values are a relational physical DATA_SOURCE or TABLE.
Request Example
<resource:clearResourceStatistics xmlns:resource="http://www.compositesw.com/services/system/admin/resource">
<resource:path>/shared/examples/ds_inventory/inventorytransactions</resource:path>
<resource:type>TABLE</resource:type>
</resource:clearResourceStatistics>
Response Elements
N/A
Faults
IllegalArgument: If the path is malformed or an illegal type is provided.
IllegalState: If statistics gathering is disabled.
NotAllowed: If the resource is of the wrong type.
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 the ACCESS_TOOLS right.