Class QueryInvoker
Query invoker
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Function.Api
Assembly: PayrollEngine.Client.Services.dll
Syntax
public class QueryInvoker
Constructors
View SourceQueryInvoker(PayrollHttpClient)
Invoker constructor
Declaration
public QueryInvoker(PayrollHttpClient httpClient)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollHttpClient | httpClient | The Payroll http configuration |
Properties
View SourceHttpClient
The Payroll http client
Declaration
public PayrollHttpClient HttpClient { get; }
Property Value
| Type | Description |
|---|---|
| PayrollHttpClient |
Methods
View SourceInvokeQueriesAsync(int, int, string, ReportRequest)
Get report
Declaration
public Task<DataSet> InvokeQueriesAsync(int tenantId, int regulationId, string reportName, ReportRequest reportRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| int | regulationId | The regulation id |
| string | reportName | Name of the report |
| ReportRequest | reportRequest | The report request |
Returns
| Type | Description |
|---|---|
| Task<DataSet> |
InvokeQueriesAsync(string, ReportRequest)
Get report
Declaration
public Task<DataSet> InvokeQueriesAsync(string reportName, ReportRequest reportRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| string | reportName | Name of the report |
| ReportRequest | reportRequest | The report request, including the tenant and regulation parameters |
Returns
| Type | Description |
|---|---|
| Task<DataSet> |
InvokeQueriesAsync(string, string, string, ReportRequest)
Get report
Declaration
public Task<DataSet> InvokeQueriesAsync(string tenantIdentifier, string regulationName, string reportName, ReportRequest reportRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tenantIdentifier | The tenant identifier |
| string | regulationName | The regulation name |
| string | reportName | Name of the report |
| ReportRequest | reportRequest | The report request |
Returns
| Type | Description |
|---|---|
| Task<DataSet> |