POST api/account/ledger

Request Information

URI Parameters

None.

Body Parameters

GetLedgerItemsDataContract
NameDescriptionTypeAdditional information
StartDate

date

None.

EndDate

date

None.

TransactionType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StartDate": "2018-11-16T19:52:51.8039182Z",
  "EndDate": "2018-11-16T19:52:51.8039182Z",
  "TransactionType": "sample string 1"
}

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 'GetLedgerItemsDataContract'.

Response Information

Resource Description

Collection of LedgerItemDataContract
NameDescriptionTypeAdditional information
Amount

decimal number

None.

Description

string

None.

Balance

decimal number

None.

DrCr

string

None.

DateTime

date

None.

AccountId

integer

None.

AccountType

AccountingEnumDataContract

None.

TranscationType

AccountingEnumDataContract

None.

ClearedStatus

AccountingEnumDataContract

None.

LedgerEntryId

integer

None.

IsCrPositive

boolean

None.

FromTo

string

None.

FromToGroupId

integer

None.

IsAdjustment

boolean

None.

IsReversal

boolean

None.

OriginalTotal

decimal number

None.

PaymentType

PaymentType

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Amount": 1.0,
    "Description": "sample string 2",
    "Balance": 3.0,
    "DrCr": "sample string 4",
    "DateTime": "2018-11-16T19:52:51.8332882Z",
    "AccountId": 6,
    "AccountType": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "TranscationType": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "ClearedStatus": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "LedgerEntryId": 7,
    "IsCrPositive": true,
    "FromTo": "sample string 9",
    "FromToGroupId": 10,
    "IsAdjustment": true,
    "IsReversal": true,
    "OriginalTotal": 13.0,
    "PaymentType": 0,
    "Id": 14
  },
  {
    "Amount": 1.0,
    "Description": "sample string 2",
    "Balance": 3.0,
    "DrCr": "sample string 4",
    "DateTime": "2018-11-16T19:52:51.8332882Z",
    "AccountId": 6,
    "AccountType": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "TranscationType": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "ClearedStatus": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "LedgerEntryId": 7,
    "IsCrPositive": true,
    "FromTo": "sample string 9",
    "FromToGroupId": 10,
    "IsAdjustment": true,
    "IsReversal": true,
    "OriginalTotal": 13.0,
    "PaymentType": 0,
    "Id": 14
  }
]