POST api/{database}/Account

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
value No Documentation Found.

Define this parameter in the request body.

Request 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",
  "accountIsInUse": true,
  "accountRestrictionType": 0,
  "accountType": 0,
  "messages": [],
  "audition": "sample string 6",
  "auditionDescription": "sample string 7",
  "budgetType": 0,
  "canChange": true,
  "cannotChangeReason": "sample string 9",
  "commissionCardType": 0,
  "currentBalance": 10.0,
  "currentTotalCredit": 11.0,
  "currentTotalDebit": 12.0,
  "defaultCostCentreId": "sample string 13",
  "defaultCostUnitId": "sample string 14",
  "description": "sample string 15",
  "fiscalYear": 16,
  "fixedAssetAccountType": 0,
  "hints": "sample string 17",
  "isBlocked": true,
  "isCashDiscount": true,
  "isClient": true,
  "isCondensed": true,
  "isFixedAssetAccount": true,
  "isInterCompanyAccount": true,
  "isProjectAccount": true,
  "isWkrAccount": true,
  "lineNumber": 26,
  "notDeductiblePercentage": 27.0,
  "notDeductibleVatPercentage": 28.0,
  "pageNumber": 29,
  "shortName": "sample string 30",
  "specifyCostCentre": true,
  "specifyCostUnit": true,
  "specifySubAdmin": true,
  "startBalance": 34.0,
  "subAdmin1": "sample string 35",
  "subAdmin2": "sample string 36",
  "subAdmin3": "sample string 37",
  "subTotalLevel": 38,
  "vatBookType": 0,
  "vatCodeId": 1,
  "vatScenarioId": 1,
  "vatType": 0
}

application/xml, text/xml

Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <AccountBookingPreference>None</AccountBookingPreference>
  <AccountCategory1>sample string 1</AccountCategory1>
  <AccountCategory2>sample string 2</AccountCategory2>
  <AccountCategory3>sample string 3</AccountCategory3>
  <AccountId>sample string 4</AccountId>
  <AccountIsInUse>true</AccountIsInUse>
  <AccountRestrictionType>AllEditable</AccountRestrictionType>
  <AccountType>Unknown</AccountType>
  <Audition>sample string 6</Audition>
  <AuditionDescription>sample string 7</AuditionDescription>
  <BudgetType>None</BudgetType>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 9</CannotChangeReason>
  <CommissionCardType>Default</CommissionCardType>
  <CurrentBalance>10</CurrentBalance>
  <CurrentTotalCredit>11</CurrentTotalCredit>
  <CurrentTotalDebit>12</CurrentTotalDebit>
  <DefaultCostCentreId>sample string 13</DefaultCostCentreId>
  <DefaultCostUnitId>sample string 14</DefaultCostUnitId>
  <Description>sample string 15</Description>
  <FiscalYear>16</FiscalYear>
  <FixedAssetAccountType>None</FixedAssetAccountType>
  <Hints>sample string 17</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>26</LineNumber>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <NotDeductiblePercentage>27</NotDeductiblePercentage>
  <NotDeductibleVatPercentage>28</NotDeductibleVatPercentage>
  <PageNumber>29</PageNumber>
  <ShortName>sample string 30</ShortName>
  <SpecifyCostCentre>true</SpecifyCostCentre>
  <SpecifyCostUnit>true</SpecifyCostUnit>
  <SpecifySubAdmin>true</SpecifySubAdmin>
  <StartBalance>34</StartBalance>
  <SubAdmin1>sample string 35</SubAdmin1>
  <SubAdmin2>sample string 36</SubAdmin2>
  <SubAdmin3>sample string 37</SubAdmin3>
  <SubTotalLevel>38</SubTotalLevel>
  <VatBookType>Default</VatBookType>
  <VatCodeId>1</VatCodeId>
  <VatScenarioId>1</VatScenarioId>
  <VatType>Goods</VatType>
</Account>

application/x-www-form-urlencoded

Sample:

Sample not available.

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",
  "accountIsInUse": true,
  "accountRestrictionType": 0,
  "accountType": 0,
  "messages": [],
  "audition": "sample string 6",
  "auditionDescription": "sample string 7",
  "budgetType": 0,
  "canChange": true,
  "cannotChangeReason": "sample string 9",
  "commissionCardType": 0,
  "currentBalance": 10.0,
  "currentTotalCredit": 11.0,
  "currentTotalDebit": 12.0,
  "defaultCostCentreId": "sample string 13",
  "defaultCostUnitId": "sample string 14",
  "description": "sample string 15",
  "fiscalYear": 16,
  "fixedAssetAccountType": 0,
  "hints": "sample string 17",
  "isBlocked": true,
  "isCashDiscount": true,
  "isClient": true,
  "isCondensed": true,
  "isFixedAssetAccount": true,
  "isInterCompanyAccount": true,
  "isProjectAccount": true,
  "isWkrAccount": true,
  "lineNumber": 26,
  "notDeductiblePercentage": 27.0,
  "notDeductibleVatPercentage": 28.0,
  "pageNumber": 29,
  "shortName": "sample string 30",
  "specifyCostCentre": true,
  "specifyCostUnit": true,
  "specifySubAdmin": true,
  "startBalance": 34.0,
  "subAdmin1": "sample string 35",
  "subAdmin2": "sample string 36",
  "subAdmin3": "sample string 37",
  "subTotalLevel": 38,
  "vatBookType": 0,
  "vatCodeId": 1,
  "vatScenarioId": 1,
  "vatType": 0
}

application/xml, text/xml

Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <AccountBookingPreference>None</AccountBookingPreference>
  <AccountCategory1>sample string 1</AccountCategory1>
  <AccountCategory2>sample string 2</AccountCategory2>
  <AccountCategory3>sample string 3</AccountCategory3>
  <AccountId>sample string 4</AccountId>
  <AccountIsInUse>true</AccountIsInUse>
  <AccountRestrictionType>AllEditable</AccountRestrictionType>
  <AccountType>Unknown</AccountType>
  <Audition>sample string 6</Audition>
  <AuditionDescription>sample string 7</AuditionDescription>
  <BudgetType>None</BudgetType>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 9</CannotChangeReason>
  <CommissionCardType>Default</CommissionCardType>
  <CurrentBalance>10</CurrentBalance>
  <CurrentTotalCredit>11</CurrentTotalCredit>
  <CurrentTotalDebit>12</CurrentTotalDebit>
  <DefaultCostCentreId>sample string 13</DefaultCostCentreId>
  <DefaultCostUnitId>sample string 14</DefaultCostUnitId>
  <Description>sample string 15</Description>
  <FiscalYear>16</FiscalYear>
  <FixedAssetAccountType>None</FixedAssetAccountType>
  <Hints>sample string 17</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>26</LineNumber>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <NotDeductiblePercentage>27</NotDeductiblePercentage>
  <NotDeductibleVatPercentage>28</NotDeductibleVatPercentage>
  <PageNumber>29</PageNumber>
  <ShortName>sample string 30</ShortName>
  <SpecifyCostCentre>true</SpecifyCostCentre>
  <SpecifyCostUnit>true</SpecifyCostUnit>
  <SpecifySubAdmin>true</SpecifySubAdmin>
  <StartBalance>34</StartBalance>
  <SubAdmin1>sample string 35</SubAdmin1>
  <SubAdmin2>sample string 36</SubAdmin2>
  <SubAdmin3>sample string 37</SubAdmin3>
  <SubTotalLevel>38</SubTotalLevel>
  <VatBookType>Default</VatBookType>
  <VatCodeId>1</VatCodeId>
  <VatScenarioId>1</VatScenarioId>
  <VatType>Goods</VatType>
</Account>