public function getContentMetaData($request)
 {
     $json = json_encode($request->parameters);
     $contentDownloadHistory = new ContentDownloadHistory();
     $jsonObj = json_decode($json);
     $jsonMessage = $contentDownloadHistory->validateJsonObj($jsonObj);
     if ($jsonMessage != Message::SUCCESS) {
         $response = array("status" => "ERROR", "status_code" => '400', 'msgs' => $jsonMessage);
         $this->outputError($response);
         return;
     }
     if (!$contentDownloadHistory->setValuesFromJsonObj($jsonObj)) {
         $response = array("status" => "ERROR", "status_code" => '400', 'msgs' => Message::ERROR_INVAID_REQUEST_BODY);
         $this->outputError($response);
         return;
     }
     if (trim($contentDownloadHistory->cd_cmd_id) == '') {
         $response = array("status" => "ERROR", "status_code" => '400', 'msgs' => Message::ERROR_BLANK_CMD_ID);
         $this->outputError($response);
         return;
     }
     $contentMetaDataObj = $contentDownloadHistory->getContentMetaDataById($contentDownloadHistory->cd_cmd_id);
     if (!empty($contentMetaDataObj)) {
         $response = array("status" => "SUCCESS-BUSINESS", "status_code" => '200', 'contentMetaDataDetail' => $contentMetaDataObj);
         $this->outputSuccess($response);
         return;
     } else {
         $response = array("status" => "ERROR-BUSINESS", "status_code" => '404', 'msgs' => 'No content metadata information available !.');
         $this->outputError($response);
         return;
     }
 }