Class StocktakingDataApi
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 StocktakingDataApi : IStocktakingDataApi, IApiAccessor
Constructors
| Improve this Doc View SourceStocktakingDataApi(Configuration)
Initializes a new instance of the StocktakingDataApi class using Configuration object
Declaration
public StocktakingDataApi(Configuration configuration = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Configuration | configuration | An instance of Configuration |
StocktakingDataApi(String)
Initializes a new instance of the StocktakingDataApi class.
Declaration
public StocktakingDataApi(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. |
ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingGet(String, String, String, String, String, Nullable<Int32>)
Stocktaking data to an inventory in the asset accounting Retrieve the inventory data of a client/company and a specific fiscal year. The data can thus, for example, be used as part of a stocktaking. The stocktaking data for an asset are displayed.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public List<StocktakingRecord> ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingGet(string clientId, string fiscalYearId, string assetId, string select = 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 | assetId | ID consisting of the area and the asset-id |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (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<StocktakingRecord> | List<StocktakingRecord> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingGetAsync(String, String, String, String, String, Nullable<Int32>)
Stocktaking data to an inventory in the asset accounting Retrieve the inventory data of a client/company and a specific fiscal year. The data can thus, for example, be used as part of a stocktaking. The stocktaking data for an asset are displayed.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public async Task<List<StocktakingRecord>> ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingGetAsync(string clientId, string fiscalYearId, string assetId, string select = 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 | assetId | ID consisting of the area and the asset-id |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (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<StocktakingRecord>> | Task of List<StocktakingRecord> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingGetAsyncWithHttpInfo(String, String, String, String, String, Nullable<Int32>)
Stocktaking data to an inventory in the asset accounting Retrieve the inventory data of a client/company and a specific fiscal year. The data can thus, for example, be used as part of a stocktaking. The stocktaking data for an asset are displayed.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public async Task<ApiResponse<List<StocktakingRecord>>> ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingGetAsyncWithHttpInfo(string clientId, string fiscalYearId, string assetId, string select = 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 | assetId | ID consisting of the area and the asset-id |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (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<StocktakingRecord>>> | Task of ApiResponse (List<StocktakingRecord>) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingGetWithHttpInfo(String, String, String, String, String, Nullable<Int32>)
Stocktaking data to an inventory in the asset accounting Retrieve the inventory data of a client/company and a specific fiscal year. The data can thus, for example, be used as part of a stocktaking. The stocktaking data for an asset are displayed.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public ApiResponse<List<StocktakingRecord>> ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingGetWithHttpInfo(string clientId, string fiscalYearId, string assetId, string select = 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 | assetId | ID consisting of the area and the asset-id |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (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<StocktakingRecord>> | ApiResponse of List<StocktakingRecord> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingPut(String, String, String, StocktakingRecord)
Update a list of stocktaking data in the asset accounting Update the inventory data of a client/company and a specific fiscal year. The data can, for example, be determined in the context of a stocktaking. The data of an asset will be updated.<br> The asset to be updated is identified using the combination of the two properties "asset_number" and "inventory_number".<br><br> Important When updating inventory data, you must specify an area. This must be provided unchanged from the retrieval of one or several inventories.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public ErrorMessage ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingPut(string clientId, string fiscalYearId, string assetId, StocktakingRecord stocktakingRecord)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | clientId | ID of central client/company |
| System.String | fiscalYearId | ID of the fiscal year |
| System.String | assetId | ID consisting of the area and the asset-id |
| StocktakingRecord | stocktakingRecord | Stocktaking data |
Returns
| Type | Description |
|---|---|
| ErrorMessage | ErrorMessage |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingPutAsync(String, String, String, StocktakingRecord)
Update a list of stocktaking data in the asset accounting Update the inventory data of a client/company and a specific fiscal year. The data can, for example, be determined in the context of a stocktaking. The data of an asset will be updated.<br> The asset to be updated is identified using the combination of the two properties "asset_number" and "inventory_number".<br><br> Important When updating inventory data, you must specify an area. This must be provided unchanged from the retrieval of one or several inventories.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public async Task<ErrorMessage> ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingPutAsync(string clientId, string fiscalYearId, string assetId, StocktakingRecord stocktakingRecord)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | clientId | ID of central client/company |
| System.String | fiscalYearId | ID of the fiscal year |
| System.String | assetId | ID consisting of the area and the asset-id |
| StocktakingRecord | stocktakingRecord | Stocktaking data |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ErrorMessage> | Task of ErrorMessage |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingPutAsyncWithHttpInfo(String, String, String, StocktakingRecord)
Update a list of stocktaking data in the asset accounting Update the inventory data of a client/company and a specific fiscal year. The data can, for example, be determined in the context of a stocktaking. The data of an asset will be updated.<br> The asset to be updated is identified using the combination of the two properties "asset_number" and "inventory_number".<br><br> Important When updating inventory data, you must specify an area. This must be provided unchanged from the retrieval of one or several inventories.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public async Task<ApiResponse<ErrorMessage>> ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingPutAsyncWithHttpInfo(string clientId, string fiscalYearId, string assetId, StocktakingRecord stocktakingRecord)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | clientId | ID of central client/company |
| System.String | fiscalYearId | ID of the fiscal year |
| System.String | assetId | ID consisting of the area and the asset-id |
| StocktakingRecord | stocktakingRecord | Stocktaking data |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ApiResponse<ErrorMessage>> | Task of ApiResponse (ErrorMessage) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingPutWithHttpInfo(String, String, String, StocktakingRecord)
Update a list of stocktaking data in the asset accounting Update the inventory data of a client/company and a specific fiscal year. The data can, for example, be determined in the context of a stocktaking. The data of an asset will be updated.<br> The asset to be updated is identified using the combination of the two properties "asset_number" and "inventory_number".<br><br> Important When updating inventory data, you must specify an area. This must be provided unchanged from the retrieval of one or several inventories.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public ApiResponse<ErrorMessage> ClientsClientIdFiscalYearsFiscalYearIdAssetsAssetIdStocktakingPutWithHttpInfo(string clientId, string fiscalYearId, string assetId, StocktakingRecord stocktakingRecord)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | clientId | ID of central client/company |
| System.String | fiscalYearId | ID of the fiscal year |
| System.String | assetId | ID consisting of the area and the asset-id |
| StocktakingRecord | stocktakingRecord | Stocktaking data |
Returns
| Type | Description |
|---|---|
| ApiResponse<ErrorMessage> | ApiResponse of ErrorMessage |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAssetsStocktakingsGet(String, String, String, String, String, Nullable<Int32>)
Retrieve a list of stocktaking data in the asset accounting Retrieve the inventory data of a client/company and a specific fiscal year. The data can thus, for example, be used as part of a stocktaking. The stocktaking data of a fiscal-year are displayed.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public List<StocktakingRecord> ClientsClientIdFiscalYearsFiscalYearIdAssetsStocktakingsGet(string clientId, string fiscalYearId, string filter = null, string select = 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 | filter | Entering a filter expression influences the number of results. Example: filter=is_abc eq true and xy_number eq 10000 (optional) |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (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<StocktakingRecord> | List<StocktakingRecord> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAssetsStocktakingsGetAsync(String, String, String, String, String, Nullable<Int32>)
Retrieve a list of stocktaking data in the asset accounting Retrieve the inventory data of a client/company and a specific fiscal year. The data can thus, for example, be used as part of a stocktaking. The stocktaking data of a fiscal-year are displayed.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public async Task<List<StocktakingRecord>> ClientsClientIdFiscalYearsFiscalYearIdAssetsStocktakingsGetAsync(string clientId, string fiscalYearId, string filter = null, string select = 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 | filter | Entering a filter expression influences the number of results. Example: filter=is_abc eq true and xy_number eq 10000 (optional) |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (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<StocktakingRecord>> | Task of List<StocktakingRecord> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAssetsStocktakingsGetAsyncWithHttpInfo(String, String, String, String, String, Nullable<Int32>)
Retrieve a list of stocktaking data in the asset accounting Retrieve the inventory data of a client/company and a specific fiscal year. The data can thus, for example, be used as part of a stocktaking. The stocktaking data of a fiscal-year are displayed.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public async Task<ApiResponse<List<StocktakingRecord>>> ClientsClientIdFiscalYearsFiscalYearIdAssetsStocktakingsGetAsyncWithHttpInfo(string clientId, string fiscalYearId, string filter = null, string select = 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 | filter | Entering a filter expression influences the number of results. Example: filter=is_abc eq true and xy_number eq 10000 (optional) |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (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<StocktakingRecord>>> | Task of ApiResponse (List<StocktakingRecord>) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ClientsClientIdFiscalYearsFiscalYearIdAssetsStocktakingsGetWithHttpInfo(String, String, String, String, String, Nullable<Int32>)
Retrieve a list of stocktaking data in the asset accounting Retrieve the inventory data of a client/company and a specific fiscal year. The data can thus, for example, be used as part of a stocktaking. The stocktaking data of a fiscal-year are displayed.<br><br> Use multiple data paths It is necessary to know the correct data path to address the correct data stock. If the correct data path cannot be determined in DATEVconnect, the desired data path can be defined by a configuration file to resolve this data path collision. Further information is provided in Info Database, document 1071637.
Declaration
public ApiResponse<List<StocktakingRecord>> ClientsClientIdFiscalYearsFiscalYearIdAssetsStocktakingsGetWithHttpInfo(string clientId, string fiscalYearId, string filter = null, string select = 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 | filter | Entering a filter expression influences the number of results. Example: filter=is_abc eq true and xy_number eq 10000 (optional) |
| System.String | select | Comma separated list of properties to which the results will then be limited. Example: select=id (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<StocktakingRecord>> | ApiResponse of List<StocktakingRecord> |
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 |