PUT api/v1/finance_ChartOfAccount/{debitAccountId}/debitAccountId?chartOfAccountId={chartOfAccountId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
chartOfAccountId

integer

Required

debitAccountId

string

None.

Body Parameters

Finance_ChartOfAccountVM
NameDescriptionTypeAdditional information
chartOfAccountId

integer

None.

accountName

string

None.

description

string

None.

balance

decimal number

None.

openingBalanceAsOf

date

None.

accountTypeId

integer

None.

tenantId

integer

None.

isVatApply

boolean

None.

dateCreated

date

None.

dateUpdated

date

None.

createdBy

integer

None.

financeBankName

string

None.

accountTypeName

string

None.

applyVAT

string

None.

chartOfAccountTypeId

integer

None.

chartOfAccountTypeName

string

None.

openingBalance

decimal number

None.

creditBalance

decimal number

None.

debitBalance

decimal number

None.

accountNumber

integer

None.

financeBankId

integer

None.

vatAmount

decimal number

None.

currencyName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "chartOfAccountId": 1,
  "accountName": "sample string 2",
  "description": "sample string 3",
  "balance": 1.0,
  "openingBalanceAsOf": "2024-11-24T08:55:00.3852599-08:00",
  "accountTypeId": 1,
  "tenantId": 1,
  "isVatApply": true,
  "dateCreated": "2024-11-24T08:55:00.3852599-08:00",
  "dateUpdated": "2024-11-24T08:55:00.3852599-08:00",
  "createdBy": 1,
  "financeBankName": "sample string 5",
  "accountTypeName": "sample string 6",
  "applyVAT": "sample string 7",
  "chartOfAccountTypeId": 1,
  "chartOfAccountTypeName": "sample string 8",
  "openingBalance": 9.0,
  "creditBalance": 10.0,
  "debitBalance": 11.0,
  "accountNumber": 1,
  "financeBankId": 1,
  "vatAmount": 12.0,
  "currencyName": "sample string 13"
}

application/xml, text/xml

Sample:
<Finance_ChartOfAccountVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <accountName>sample string 2</accountName>
  <accountNumber>1</accountNumber>
  <accountTypeId>1</accountTypeId>
  <accountTypeName>sample string 6</accountTypeName>
  <applyVAT>sample string 7</applyVAT>
  <balance>1</balance>
  <chartOfAccountId>1</chartOfAccountId>
  <chartOfAccountTypeId>1</chartOfAccountTypeId>
  <chartOfAccountTypeName>sample string 8</chartOfAccountTypeName>
  <createdBy>1</createdBy>
  <creditBalance>10</creditBalance>
  <currencyName>sample string 13</currencyName>
  <dateCreated>2024-11-24T08:55:00.3852599-08:00</dateCreated>
  <dateUpdated>2024-11-24T08:55:00.3852599-08:00</dateUpdated>
  <debitBalance>11</debitBalance>
  <description>sample string 3</description>
  <financeBankId>1</financeBankId>
  <financeBankName>sample string 5</financeBankName>
  <isVatApply>true</isVatApply>
  <openingBalance>9</openingBalance>
  <openingBalanceAsOf>2024-11-24T08:55:00.3852599-08:00</openingBalanceAsOf>
  <tenantId>1</tenantId>
  <vatAmount>12</vatAmount>
</Finance_ChartOfAccountVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.