/**
  * Perform the request against the api
  */
 public function execute()
 {
     $endpointUrl = $this->endpointUri . "/" . $this->getRoute();
     $response = WebHelper::getJsonWebRequest($endpointUrl, $this->requestDetails, array(CURLOPT_HTTPHEADER => array("Api-Key:" . $this->credentials->getApiKey(), "Authorization: " . $this->credentials->getAuthorizationHeaderValue())));
     if ($response["http_code"] != 200) {
         throw new \Exception("Non 200 status code returned: " . $response["http_code"] . "\nBody: " . $response["body"]);
     }
     return $response["body"];
 }