Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.71 KB

File metadata and controls

62 lines (42 loc) · 1.71 KB

SecureApi.SecureReportsApi

All URIs are relative to https://api.uat.anddone.com

Method HTTP request Description
secureReportsDownloadsPost POST /secure/reports/downloads This API will add system report.

secureReportsDownloadsPost

secureReportsDownloadsPost(xApiKey, xAppKey, xVersion, origin, opts)

This API will add system report.

Example

import SecureApi from 'secure_api';

let apiInstance = new SecureApi.SecureReportsApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let opts = {
  'reportDownloadRequest': new SecureApi.ReportDownloadRequest() // ReportDownloadRequest | ReportDownloadRequest
};
apiInstance.secureReportsDownloadsPost(xApiKey, xAppKey, xVersion, origin, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
});

Parameters

Name Type Description Notes
xApiKey String an authorization header
xAppKey String an authorization header
xVersion Number x-version
origin String origin
reportDownloadRequest ReportDownloadRequest ReportDownloadRequest [optional]

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: text/csv