DELETE api/receipt/paymentitem?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

PaymentItemCollectionDataContract
NameDescriptionTypeAdditional information
Collection

Collection of PaymentItemDataContract

None.

TotalCount

integer

None.

Total

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Collection": [
    {
      "SourceAccountId": 1,
      "AccountType": 0,
      "Amount": 2.0,
      "PaymentType": 0,
      "ClientBankAccountId": 3,
      "Date": "2018-11-16T20:38:00.177354Z",
      "Description": "sample string 4",
      "IncludeInExport": true,
      "IsCleared": true,
      "NegotiatorId": 7,
      "InvoicePaymentCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        },
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        }
      ],
      "InvoiceDeductionCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        },
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        }
      ],
      "ReceiptsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        },
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        }
      ],
      "Id": 8
    },
    {
      "SourceAccountId": 1,
      "AccountType": 0,
      "Amount": 2.0,
      "PaymentType": 0,
      "ClientBankAccountId": 3,
      "Date": "2018-11-16T20:38:00.177354Z",
      "Description": "sample string 4",
      "IncludeInExport": true,
      "IsCleared": true,
      "NegotiatorId": 7,
      "InvoicePaymentCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        },
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        }
      ],
      "InvoiceDeductionCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        },
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        }
      ],
      "ReceiptsCollection": [
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        },
        {
          "InvoiceId": 1,
          "Amount": 2.0,
          "AllocationId": 3,
          "ReceiptId": 4,
          "CreatedDate": "2018-11-16T20:38:00.177354Z",
          "Description": "sample string 6"
        }
      ],
      "Id": 8
    }
  ],
  "TotalCount": 1,
  "Total": 2.0
}