Invoice Aggregate Demographic Data Report

Description

Returns a List of Invoice Aggregate Demographic Data.

Report Parameters

Report Name: InvoiceAggregateDemographicData

Name

Type

Max. Length

Required

Description

MID

String

10

 

Company Number

Year

String

4

 

The year in YYYY format

Month

String

2

 

The month in MM format

Test

Bit

1

 

Is 1 if this request a test.

Example Request

/EpnPublic/ActiveReports/GetReport.aspx?&Action=Report&Token={YourToken}&OutputType=XML&ReportPermDesc=InvoiceAggregateDemographicData&Parameter_MID={MID}&Parameter_Year=2023&Parameter_Month=02&Parameter_Test=1

SDK Example

string token = Token.GetToken("{MerchantNumber}", "{MerchantPassword}");
Console.WriteLine(token);
//Set parameters for report
D.ReportDefinition.Parameter[] reportParams = new D.ReportDefinition.Parameter[]
{
  new D.ReportDefinition.Parameter { PermDesc = "MID", ParamValue = "{MerchantNumber}" },
  new D.ReportDefinition.Parameter { PermDesc = "Year", ParamValue = "2023" },
  new D.ReportDefinition.Parameter { PermDesc = "Month", ParamValue = "02" }
};
//Run report
Response resp = GetReport.RunReport(token, "InvoiceAggregateDemographicData", reportParams,
D.ReportDefinition.OutputType.HTML);
Console.WriteLine(resp.I.SData);