code: def execute_api_request(self):
          
          if not self.auth.check_auth():
              raise Exception('Authentification needed or API not available with your type of connection')
          if self.auth.is_authentified():
              id_cookie = {BboxConstant.COOKIE_BBOX_ID: self.auth.get_cookie_id()}
              if self.parameters is None:
                  resp = self.call_method(self.api_url.get_url(), cookies=id_cookie)
              else:
                  resp = self.call_method(self.api_url.get_url(),
                                          data=self.parameters, cookies=id_cookie)
          else:
              if self.parameters is None:
                  resp = self.call_method(self.api_url.get_url())
              else:
                  resp = self.call_method(self.api_url.get_url(),
                                          data=self.parameters)
          if resp.status_code != 200:
              # This means something went wrong.
              raise Exception('Error {} with request {}'.format(
                  resp.status_code, self.api_url.get_url()))
  
          return resp
docs: Execute the request and return json data as a dict
          :return: data dict