Class AccountingStatisticsApi
Represents a collection of functions to interact with the API endpoints
Inheritance
Inherited Members
Namespace: Simplic.Datev.Swagger.Api
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
public class AccountingStatisticsApi : IAccountingStatisticsApi, IApiAccessor
Constructors
| Improve this Doc View SourceAccountingStatisticsApi(Configuration)
Initializes a new instance of the AccountingStatisticsApi class using Configuration object
Declaration
public AccountingStatisticsApi(Configuration configuration = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Configuration | configuration | An instance of Configuration |
AccountingStatisticsApi(String)
Initializes a new instance of the AccountingStatisticsApi class.
Declaration
public AccountingStatisticsApi(string basePath)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | basePath |
Properties
| Improve this Doc View SourceConfiguration
Gets or sets the configuration object
Declaration
public Configuration Configuration { get; set; }
Property Value
| Type | Description |
|---|---|
| Configuration | An instance of the Configuration |
ExceptionFactory
Provides a factory method hook for the creation of exceptions.
Declaration
public ExceptionFactory ExceptionFactory { get; set; }
Property Value
| Type | Description |
|---|---|
| ExceptionFactory |
Methods
| Improve this Doc View SourceAddDefaultHeader(String, String)
Add default header.
Declaration
[Obsolete("AddDefaultHeader is deprecated, please use Configuration.AddDefaultHeader instead.")]
public void AddDefaultHeader(string key, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key | Header field name. |
| System.String | value | Header field value. |
ClientsClientIdFiscalYearsFiscalYearIdAccountingStatisticsGet(String, String, String, String, String, Nullable<Int32>)
Retrieve a statistic list of monthly accounting sequence informations The accounting statistics give you an overview of how many accounting records were posted each month. The number of prima nota entries (entered and imported records) and the number of journal entries (processed records) for each month are listed. Up to five journal entries can be generated from one prima nota entry (the entered record and the resulting tax entries, cash discount entries, Factor 2 entries, and so on).
Declaration
public List<AccountingStatistics> ClientsClientIdFiscalYearsFiscalYearIdAccountingStatisticsGet(string clientId, string fiscalYearId, string select = null, string filter = null, string skip = null, int? top = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | clientId | ID of central client/company |
| System.String | fiscalYearId | ID of the fiscal year |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (optional) |
| System.String | filter | Entering a filter expression influences the number of results. Example: filter=is_abc eq true and xy_number eq 10000 (optional) |
| System.String | skip | States how many elements in the total number of items should be skipped. Example: skip=10 (optional) |
| System.Nullable<System.Int32> | top | States the maximum number of elements that should be contained within the total. Example: top=10 (optional) |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<AccountingStatistics> | List<AccountingStatistics> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAccountingStatisticsGetAsync(String, String, String, String, String, Nullable<Int32>)
Retrieve a statistic list of monthly accounting sequence informations The accounting statistics give you an overview of how many accounting records were posted each month. The number of prima nota entries (entered and imported records) and the number of journal entries (processed records) for each month are listed. Up to five journal entries can be generated from one prima nota entry (the entered record and the resulting tax entries, cash discount entries, Factor 2 entries, and so on).
Declaration
public async Task<List<AccountingStatistics>> ClientsClientIdFiscalYearsFiscalYearIdAccountingStatisticsGetAsync(string clientId, string fiscalYearId, string select = null, string filter = null, string skip = null, int? top = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | clientId | ID of central client/company |
| System.String | fiscalYearId | ID of the fiscal year |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (optional) |
| System.String | filter | Entering a filter expression influences the number of results. Example: filter=is_abc eq true and xy_number eq 10000 (optional) |
| System.String | skip | States how many elements in the total number of items should be skipped. Example: skip=10 (optional) |
| System.Nullable<System.Int32> | top | States the maximum number of elements that should be contained within the total. Example: top=10 (optional) |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Collections.Generic.List<AccountingStatistics>> | Task of List<AccountingStatistics> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAccountingStatisticsGetAsyncWithHttpInfo(String, String, String, String, String, Nullable<Int32>)
Retrieve a statistic list of monthly accounting sequence informations The accounting statistics give you an overview of how many accounting records were posted each month. The number of prima nota entries (entered and imported records) and the number of journal entries (processed records) for each month are listed. Up to five journal entries can be generated from one prima nota entry (the entered record and the resulting tax entries, cash discount entries, Factor 2 entries, and so on).
Declaration
public async Task<ApiResponse<List<AccountingStatistics>>> ClientsClientIdFiscalYearsFiscalYearIdAccountingStatisticsGetAsyncWithHttpInfo(string clientId, string fiscalYearId, string select = null, string filter = null, string skip = null, int? top = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | clientId | ID of central client/company |
| System.String | fiscalYearId | ID of the fiscal year |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (optional) |
| System.String | filter | Entering a filter expression influences the number of results. Example: filter=is_abc eq true and xy_number eq 10000 (optional) |
| System.String | skip | States how many elements in the total number of items should be skipped. Example: skip=10 (optional) |
| System.Nullable<System.Int32> | top | States the maximum number of elements that should be contained within the total. Example: top=10 (optional) |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ApiResponse<System.Collections.Generic.List<AccountingStatistics>>> | Task of ApiResponse (List<AccountingStatistics>) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAccountingStatisticsGetWithHttpInfo(String, String, String, String, String, Nullable<Int32>)
Retrieve a statistic list of monthly accounting sequence informations The accounting statistics give you an overview of how many accounting records were posted each month. The number of prima nota entries (entered and imported records) and the number of journal entries (processed records) for each month are listed. Up to five journal entries can be generated from one prima nota entry (the entered record and the resulting tax entries, cash discount entries, Factor 2 entries, and so on).
Declaration
public ApiResponse<List<AccountingStatistics>> ClientsClientIdFiscalYearsFiscalYearIdAccountingStatisticsGetWithHttpInfo(string clientId, string fiscalYearId, string select = null, string filter = null, string skip = null, int? top = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | clientId | ID of central client/company |
| System.String | fiscalYearId | ID of the fiscal year |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (optional) |
| System.String | filter | Entering a filter expression influences the number of results. Example: filter=is_abc eq true and xy_number eq 10000 (optional) |
| System.String | skip | States how many elements in the total number of items should be skipped. Example: skip=10 (optional) |
| System.Nullable<System.Int32> | top | States the maximum number of elements that should be contained within the total. Example: top=10 (optional) |
Returns
| Type | Description |
|---|---|
| ApiResponse<System.Collections.Generic.List<AccountingStatistics>> | ApiResponse of List<AccountingStatistics> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DefaultHeader()
Gets the default header.
Declaration
[Obsolete("DefaultHeader is deprecated, please use Configuration.DefaultHeader instead.")]
public IDictionary<string, string> DefaultHeader()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.String, System.String> | Dictionary of HTTP header |
GetBasePath()
Gets the base path of the API client.
Declaration
public string GetBasePath()
Returns
| Type | Description |
|---|---|
| System.String | The base path |
SetBasePath(String)
Sets the base path of the API client.
Declaration
[Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")]
public void SetBasePath(string basePath)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | basePath |