Version 2021
Flush cache
Flushes all local caches from the adapter and retrieves fresh data from the physical access control system. This applies if your implementation has a local cache. If your implementation does not use a local cache, this should return a status of OK
and do nothing. In either case, your API must support or handle this call.
Request format
HTTP method
GET
Resource URL
/flush_cache
Parameters
None.
Response format
Response header
Content-Type:application/json
Response body
Success response
Copy
{
"json_version": "2.0",
"status":"SUCCESS",
}
Failure response
Copy
{
"json_version": "2.0",
"status":"ERROR",
"message":"<error_message>",
}
Example
Request
http://localhost:8080/Usher.svc/flush_cache
Response
Copy
{
"json_version": "2.0",
"status":"SUCCESS",
}