diff --git a/lib/Gr4vyConfig.php b/lib/Gr4vyConfig.php index 7bbbbe5..2bf97d1 100644 --- a/lib/Gr4vyConfig.php +++ b/lib/Gr4vyConfig.php @@ -439,4 +439,12 @@ public function deleteCheckoutSession($checkout_session_id) { $response = $this->delete("/checkout/sessions/" . $checkout_session_id); return $response; } + public function getReportExecution($report_execution_id) { + $response = $this->get("/report-executions/" . $report_execution_id); + return $response; + } + public function generateReportDownloadUrl($report_id, $report_execution_id, $request = array()) { + $response = $this->post("/reports/". $report_id . "executions" . $report_execution_id, $request); + return $response; + } }