Skip to content

Files

Latest commit

aa498c3 · Sep 25, 2023

History

History
71 lines (48 loc) · 2.7 KB

ModuleReportApi.md

File metadata and controls

71 lines (48 loc) · 2.7 KB

ModuleReportApi

All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest

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

reportGetReportFromCacheV1

-(NSURLSessionTask*) reportGetReportFromCacheV1WithSReportgroupCacheID: (NSString*) sReportgroupCacheID
        completionHandler: (void (^)(CommonGetReportV1Response* output, NSError* error)) handler;

Retrieve report from cache

Retrieve a report that was previously generated and cached

Example

DefaultConfiguration *apiConfig = [DefaultConfiguration sharedConfig];

// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

// Configure API key authorization: (authentication scheme: Presigned)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sAuthorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sAuthorization"];


NSString* sReportgroupCacheID = @"sReportgroupCacheID_example"; // 

ModuleReportApi*apiInstance = [[ModuleReportApi alloc] init];

// Retrieve report from cache
[apiInstance reportGetReportFromCacheV1WithSReportgroupCacheID:sReportgroupCacheID
          completionHandler: ^(CommonGetReportV1Response* output, NSError* error) {
                        if (output) {
                            NSLog(@"%@", output);
                        }
                        if (error) {
                            NSLog(@"Error calling ModuleReportApi->reportGetReportFromCacheV1: %@", error);
                        }
                    }];

Parameters

Name Type Description Notes
sReportgroupCacheID NSString*

Return type

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]