Skip to content

Latest commit

 

History

History
107 lines (71 loc) · 3.07 KB

ReportDefinitionsApi.md

File metadata and controls

107 lines (71 loc) · 3.07 KB

CyberSource.ReportDefinitionsApi

All URIs are relative to https://apitest.cybersource.com

Method HTTP request Description
getResourceInfoByReportDefinition GET /reporting/v3/report-definitions/{reportDefinitionName} Get a single report definition information
getResourceV2Info GET /reporting/v3/report-definitions Get reporting resource information

getResourceInfoByReportDefinition

ReportingV3ReportDefinitionsNameGet200Response getResourceInfoByReportDefinition(reportDefinitionName, opts)

Get a single report definition information

The report definition name must be used as path parameter exclusive of each other

Example

var CyberSource = require('CyberSource');

var apiInstance = new CyberSource.ReportDefinitionsApi();

var reportDefinitionName = "reportDefinitionName_example"; // String | Name of the Report definition to retrieve

var opts = { 
  'organizationId': "organizationId_example" // String | Valid Cybersource Organization Id
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getResourceInfoByReportDefinition(reportDefinitionName, opts, callback);

Parameters

Name Type Description Notes
reportDefinitionName String Name of the Report definition to retrieve
organizationId String Valid Cybersource Organization Id [optional]

Return type

ReportingV3ReportDefinitionsNameGet200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json;charset=utf-8
  • Accept: application/hal+json

getResourceV2Info

ReportingV3ReportDefinitionsGet200Response getResourceV2Info(opts)

Get reporting resource information

Example

var CyberSource = require('CyberSource');

var apiInstance = new CyberSource.ReportDefinitionsApi();

var opts = { 
  'organizationId': "organizationId_example" // String | Valid Cybersource Organization Id
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getResourceV2Info(opts, callback);

Parameters

Name Type Description Notes
organizationId String Valid Cybersource Organization Id [optional]

Return type

ReportingV3ReportDefinitionsGet200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json;charset=utf-8
  • Accept: application/hal+json