GET api/{database}/AssetGroupInfo/{assetGroupId}?fiscalYear={fiscalYear}
Gets the specified AssetGroupInfo.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
fiscalYear | The fiscalYear. |
Define this parameter in the request URI. |
assetGroupId | The assetGroupId. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "assetGroupId": "sample string 1", "assetGroupType": 0, "assetSubGroups": null, "depreciationAccount": "sample string 2", "depreciationCostsAccount": "sample string 3", "depreciationPercentage": 4.0, "depreciationType": 0, "description": "sample string 5", "disposalOfInvestmentsAccount": "sample string 6", "fiscalYear": 7, "investmentAccount": "sample string 8", "reinvestmentReserveAccount": "sample string 9", "roundOffTo": 10, "salesLossAccount": "sample string 11", "salesProfitAccount": "sample string 12" }
application/xml, text/xml
Sample:
<AssetGroupInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Assets.Info"> <AssetGroupId>sample string 1</AssetGroupId> <AssetGroupType>Other</AssetGroupType> <AssetSubGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Assets.Lists" i:nil="true" /> <DepreciationAccount>sample string 2</DepreciationAccount> <DepreciationCostsAccount>sample string 3</DepreciationCostsAccount> <DepreciationPercentage>4</DepreciationPercentage> <DepreciationType>DegressiveLineair</DepreciationType> <Description>sample string 5</Description> <DisposalOfInvestmentsAccount>sample string 6</DisposalOfInvestmentsAccount> <FiscalYear>7</FiscalYear> <InvestmentAccount>sample string 8</InvestmentAccount> <ReinvestmentReserveAccount>sample string 9</ReinvestmentReserveAccount> <RoundOffTo>10</RoundOffTo> <SalesLossAccount>sample string 11</SalesLossAccount> <SalesProfitAccount>sample string 12</SalesProfitAccount> </AssetGroupInfo>