public IActionResult GetCacheInvalidationStatus([FromRoute] string websiteid, [FromQuery] string clientid)
        {
            try
            {
                if (string.IsNullOrEmpty(clientid) || BasePluginConfigGenerator.GetBasePlugin(clientid).GetClientId() != clientid.Trim().ToUpper())
                {
                    return(Unauthorized());
                }

                if (string.IsNullOrEmpty(websiteid))
                {
                    return(new CommonActionResult(CommonAPIResponse.BadRequest(new ValidationResult("Invalid websiteid"))));
                }

                return(new CommonActionResult(MongoConnector.GetCacheInvalidationStatus(websiteid)));
            }
            catch (Exception ex)
            {
                return(new CommonActionResult(CommonAPIResponse.InternalServerError(ex)));
            }
        }