POST api/AccountLeadger/AcountEntry

Request Information

URI Parameters

None.

Body Parameters

AccountLedgerModel
NameDescriptionTypeAdditional information
TransactionId

integer

None.

BranchCode

string

None.

TransactionDate

date

None.

ChequeDDNo

string

None.

CrAmount

decimal number

None.

DrAmount

decimal number

None.

ReferenceId

string

None.

VoucherId

integer

None.

HeadAccountNo

integer

None.

FromAccountNo

integer

None.

Description

string

None.

EntryDate

date

None.

EntryUser

string

None.

VID

integer

None.

EntryTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionId": 1,
  "BranchCode": "sample string 2",
  "TransactionDate": "2026-05-06T16:04:19.3735428+05:30",
  "ChequeDDNo": "sample string 4",
  "CrAmount": 5.0,
  "DrAmount": 6.0,
  "ReferenceId": "sample string 7",
  "VoucherId": 8,
  "HeadAccountNo": 9,
  "FromAccountNo": 10,
  "Description": "sample string 11",
  "EntryDate": "2026-05-06T16:04:19.3735428+05:30",
  "EntryUser": "sample string 13",
  "VID": 1,
  "EntryTypeId": 14
}

application/xml, text/xml

Sample:
<AccountLedgerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModelClasses">
  <BranchCode>sample string 2</BranchCode>
  <ChequeDDNo>sample string 4</ChequeDDNo>
  <CrAmount>5</CrAmount>
  <Description>sample string 11</Description>
  <DrAmount>6</DrAmount>
  <EntryDate>2026-05-06T16:04:19.3735428+05:30</EntryDate>
  <EntryTypeId>14</EntryTypeId>
  <EntryUser>sample string 13</EntryUser>
  <FromAccountNo>10</FromAccountNo>
  <HeadAccountNo>9</HeadAccountNo>
  <ReferenceId>sample string 7</ReferenceId>
  <TransactionDate>2026-05-06T16:04:19.3735428+05:30</TransactionDate>
  <TransactionId>1</TransactionId>
  <VID>1</VID>
  <VoucherId>8</VoucherId>
</AccountLedgerModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AccountLedgerModel'.

Response Information

Resource Description

AddUpdateDeleteResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<AddUpdateDeleteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModelClasses">
  <Data />
  <Message>sample string 2</Message>
  <Status>true</Status>
</AddUpdateDeleteResponse>