GET api/{database}/AccountInfo/{accountId}

Gets the specified AccountInfo.



Request Information

Parameters

NameDescriptionAdditional information
accountId The accountId.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "accountBookingPreference": 0,
  "accountCategory1": "sample string 1",
  "accountCategory2": "sample string 2",
  "accountCategory3": "sample string 3",
  "accountId": "sample string 4",
  "accountType": 0,
  "audition": "sample string 5",
  "auditionDescription": "sample string 6",
  "budgetType": 0,
  "currentBalance": 7.0,
  "currentTotalCredit": 8.0,
  "currentTotalDebit": 9.0,
  "defaultCostCentreId": "sample string 10",
  "defaultCostUnitId": "sample string 11",
  "description": "sample string 12",
  "fiscalYear": 13,
  "fixedAssetAccountType": 0,
  "hints": "sample string 14",
  "isBlocked": true,
  "isCashDiscount": true,
  "isClient": true,
  "isCondensed": true,
  "isFixedAssetAccount": true,
  "isInterCompanyAccount": true,
  "isProjectAccount": true,
  "isWkrAccount": true,
  "lineNumber": 23,
  "notDeductiblePercentage": 24.0,
  "notDeductibleVatPercentage": 25.0,
  "pageNumber": 26,
  "shortName": "sample string 27",
  "specifyCostCentre": true,
  "specifyCostUnit": true,
  "specifySubAdmin": true,
  "startBalance": 31.0,
  "subAdminId1": "sample string 32",
  "subAdminId2": "sample string 33",
  "subAdminId3": "sample string 34",
  "subTotalLevel": 35,
  "vatCodeId": 1,
  "vatScenarioId": 1,
  "vatType": 0
}

application/xml, text/xml

Sample:
<AccountInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Info">
  <AccountBookingPreference>None</AccountBookingPreference>
  <AccountCategory1>sample string 1</AccountCategory1>
  <AccountCategory2>sample string 2</AccountCategory2>
  <AccountCategory3>sample string 3</AccountCategory3>
  <AccountId>sample string 4</AccountId>
  <AccountType>Unknown</AccountType>
  <Audition>sample string 5</Audition>
  <AuditionDescription>sample string 6</AuditionDescription>
  <BudgetType>None</BudgetType>
  <CurrentBalance>7</CurrentBalance>
  <CurrentTotalCredit>8</CurrentTotalCredit>
  <CurrentTotalDebit>9</CurrentTotalDebit>
  <DefaultCostCentreId>sample string 10</DefaultCostCentreId>
  <DefaultCostUnitId>sample string 11</DefaultCostUnitId>
  <Description>sample string 12</Description>
  <FiscalYear>13</FiscalYear>
  <FixedAssetAccountType>None</FixedAssetAccountType>
  <Hints>sample string 14</Hints>
  <IsBlocked>true</IsBlocked>
  <IsCashDiscount>true</IsCashDiscount>
  <IsClient>true</IsClient>
  <IsCondensed>true</IsCondensed>
  <IsFixedAssetAccount>true</IsFixedAssetAccount>
  <IsInterCompanyAccount>true</IsInterCompanyAccount>
  <IsProjectAccount>true</IsProjectAccount>
  <IsWkrAccount>true</IsWkrAccount>
  <LineNumber>23</LineNumber>
  <NotDeductiblePercentage>24</NotDeductiblePercentage>
  <NotDeductibleVatPercentage>25</NotDeductibleVatPercentage>
  <PageNumber>26</PageNumber>
  <ShortName>sample string 27</ShortName>
  <SpecifyCostCentre>true</SpecifyCostCentre>
  <SpecifyCostUnit>true</SpecifyCostUnit>
  <SpecifySubAdmin>true</SpecifySubAdmin>
  <StartBalance>31</StartBalance>
  <SubAdminId1>sample string 32</SubAdminId1>
  <SubAdminId2>sample string 33</SubAdminId2>
  <SubAdminId3>sample string 34</SubAdminId3>
  <SubTotalLevel>35</SubTotalLevel>
  <VatCodeId>1</VatCodeId>
  <VatScenarioId>1</VatScenarioId>
  <VatType>Goods</VatType>
</AccountInfo>