POST api/accounting/exports/batchexport

Request Information

URI Parameters

None.

Body Parameters

SetBatchPaymentDataContract
NameDescriptionTypeAdditional information
ClientBankAccountId

integer

None.

BatchPaymentId

integer

None.

PaymentIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientBankAccountId": 1,
  "BatchPaymentId": 1,
  "PaymentIds": [
    1,
    2
  ]
}

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

Response Information

Resource Description

BatchExportDataContract
NameDescriptionTypeAdditional information
DateTime

date

None.

Amount

decimal number

None.

NumberOfPayments

integer

None.

Processed

boolean

None.

Payments

Collection of BatchPaymentLineDataContract

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DateTime": "2018-11-15T03:45:58.2029662Z",
  "Amount": 2.0,
  "NumberOfPayments": 3,
  "Processed": true,
  "Payments": [
    {
      "Amount": 1.0,
      "Description": "sample string 2",
      "Id": 3
    },
    {
      "Amount": 1.0,
      "Description": "sample string 2",
      "Id": 3
    }
  ],
  "Id": 5
}