Skip to content

Latest commit

 

History

History
75 lines (51 loc) · 2.67 KB

ModuleReportApi.md

File metadata and controls

75 lines (51 loc) · 2.67 KB

eZmaxAPI\ModuleReportApi

All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest, except if the operation defines another base path.

Method HTTP request Description
reportGetReportFromCacheV1() GET /1/module/report/getReportFromCache/{sReportgroupCacheID} Retrieve report from cache

reportGetReportFromCacheV1()

reportGetReportFromCacheV1($sReportgroupCacheID): \eZmaxAPI\Model\CommonGetReportV1Response

Retrieve report from cache

Retrieve a report that was previously generated and cached

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure API key authorization: Authorization
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

// Configure API key authorization: Presigned
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKey('sAuthorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sAuthorization', 'Bearer');


$apiInstance = new eZmaxAPI\Api\ModuleReportApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$sReportgroupCacheID = 'sReportgroupCacheID_example'; // string

try {
    $result = $apiInstance->reportGetReportFromCacheV1($sReportgroupCacheID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ModuleReportApi->reportGetReportFromCacheV1: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
sReportgroupCacheID string

Return type

\eZmaxAPI\Model\CommonGetReportV1Response

Authorization

Authorization, Presigned

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/pdf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/zip, text/html

[Back to top] [Back to API list] [Back to Model list] [Back to README]