POST api/account/statement/csv

Request Information

URI Parameters

None.

Body Parameters

TransactionListCsvCommandDataContract
NameDescriptionTypeAdditional information
Filter

TransactionListFilterDataContract

None.

Request Formats

application/json, text/json

Sample:
{
  "Filter": {
    "AccountId": 1,
    "StartDate": "2018-12-06T05:53:49.5930294Z",
    "ExplicitDate": "2018-12-06T05:53:49.5930294Z",
    "EndDate": "2018-12-06T05:53:49.5930294Z",
    "TransactionTypes": [
      1,
      1
    ],
    "ExcludedTypes": [
      1,
      1
    ],
    "Description": "sample string 2",
    "PageSize": 3,
    "PageNumber": 4,
    "ExcludeUncleared": true,
    "DrOrCrSide": 0
  }
}

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

Response Information

Resource Description

StatementDataContract
NameDescriptionTypeAdditional information
OpeningBalance

decimal number

None.

ClosingBalance

decimal number

None.

StartDate

date

None.

EndDate

date

None.

StatementType

string

None.

Items

Collection of LedgerItemDataContract

None.

Credits

decimal number

None.

Debits

decimal number

None.

PageSize

integer

None.

PageNumber

integer

None.

TotalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "OpeningBalance": 1.0,
  "ClosingBalance": 2.0,
  "StartDate": "2018-12-06T05:53:53.2961528Z",
  "EndDate": "2018-12-06T05:53:53.2961528Z",
  "StatementType": "sample string 5",
  "Items": [
    {
      "Amount": 1.0,
      "Description": "sample string 2",
      "Balance": 3.0,
      "DrCr": "sample string 4",
      "DateTime": "2018-12-06T05:53:53.2961528Z",
      "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,
      "IsReconciled": true,
      "Id": 15
    },
    {
      "Amount": 1.0,
      "Description": "sample string 2",
      "Balance": 3.0,
      "DrCr": "sample string 4",
      "DateTime": "2018-12-06T05:53:53.2961528Z",
      "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,
      "IsReconciled": true,
      "Id": 15
    }
  ],
  "Credits": 6.0,
  "Debits": 7.0,
  "PageSize": 8,
  "PageNumber": 9,
  "TotalCount": 10
}