public function renderTemplate($templateId, $request)
    {
        $query = ($request instanceof Request) ? $request->id : $request;
        return $this->sendRequest('GET', '/templates/' . $templateId . '/render?request_id=' . $query);
    }
public function renderTemplate($templateId, $request)
    {
        $query = ($request instanceof Request) ? $request->id : $request;
        return $this->sendRequest('GET', '/templates/' . $templateId . '/render?request_id=' . $query);
    }
public function renderTemplate ( $ templateId , $ request ) { $ query = ( $ request instanceof Request ) ? $ request -> id : $ request ; return $ this -> sendRequest ( 'GET' , '/templates/' . $ templateId . '/render?request_id=' . $ query ) ; }
Gets Activation template for a given request
@param $templateId - ID of template requested
@param $request - ID of request or Request object
@return string - Rendered template
@throws GuzzleException
Gets Activation template for a given request