diff --git a/www/class/centreon-clapi/centreonRtDowntime.class.php b/www/class/centreon-clapi/centreonRtDowntime.class.php
index 0022b068d3ac91c786a77239ac0c374bfab0d422..52f1c7c47641496539aa1f74c5f23a8fcdf27f88 100644
--- a/www/class/centreon-clapi/centreonRtDowntime.class.php
+++ b/www/class/centreon-clapi/centreonRtDowntime.class.php
@@ -173,7 +173,7 @@ class CentreonRtDowntime extends CentreonObject
     {
         if ($parameters !== '') {
             $parsedParameters = $this->parseShowparameters($parameters);
-            if ($parsedParameters['type'] !== 'HOST' && $parsedParameters['type'] !== 'SVC') {
+            if (strtoupper($parsedParameters['type']) !== 'HOST' && strtoupper($parsedParameters['type']) !== 'SVC') {
                 throw new CentreonClapiException(self::OBJECT_NOT_FOUND);
             }
             $method = 'show' . ucfirst($parsedParameters['type']);