POST api/invoice/savereceiptlistitem

Request Information

URI Parameters

None.

Body Parameters

Collection of SaveReceiptItemDataContract
NameDescriptionTypeAdditional information
InvoiceId

integer

None.

ReceiptedAmount

decimal number

None.

DateFundReceived

date

None.

UseBalanceAmount

decimal number

None.

ClientBankAccountId

integer

None.

LiableAccountId

integer

None.

RecipientAccountId

integer

None.

NegotiatorId

integer

None.

Regarding

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "InvoiceId": 1,
    "ReceiptedAmount": 2.0,
    "DateFundReceived": "2018-11-16T23:00:35.4508581Z",
    "UseBalanceAmount": 4.0,
    "ClientBankAccountId": 5,
    "LiableAccountId": 6,
    "RecipientAccountId": 7,
    "NegotiatorId": 8,
    "Regarding": "sample string 9"
  },
  {
    "InvoiceId": 1,
    "ReceiptedAmount": 2.0,
    "DateFundReceived": "2018-11-16T23:00:35.4508581Z",
    "UseBalanceAmount": 4.0,
    "ClientBankAccountId": 5,
    "LiableAccountId": 6,
    "RecipientAccountId": 7,
    "NegotiatorId": 8,
    "Regarding": "sample string 9"
  }
]

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 'List`1'.

Response Information

Resource Description

Collection of ReceiptItemDataContract
NameDescriptionTypeAdditional information
AgencyId

integer

None.

Group

ReceiptItemGroupDataContract

None.

RecipientAccountId

integer

None.

ClientBankAccountId

integer

None.

ReceiptAmount

decimal number

None.

NegotiatorId

integer

None.

ReceiptGrouping

globally unique identifier

None.

ReceivedDate

date

None.

Invoices

Collection of ReceiptItemInvoiceDataContract

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AgencyId": 1,
    "Group": {
      "LiableAccountGroupName": "sample string 1",
      "Id": 2
    },
    "RecipientAccountId": 2,
    "ClientBankAccountId": 3,
    "ReceiptAmount": 4.0,
    "NegotiatorId": 5,
    "ReceiptGrouping": "466896f2-49c2-4c36-ad19-b63c04d5fed3",
    "ReceivedDate": "2018-11-16T23:00:36.8118544Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2018-11-16T23:00:36.831341Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2018-11-16T23:00:36.831341Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      },
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2018-11-16T23:00:36.831341Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2018-11-16T23:00:36.831341Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      }
    ],
    "Id": 8
  },
  {
    "AgencyId": 1,
    "Group": {
      "LiableAccountGroupName": "sample string 1",
      "Id": 2
    },
    "RecipientAccountId": 2,
    "ClientBankAccountId": 3,
    "ReceiptAmount": 4.0,
    "NegotiatorId": 5,
    "ReceiptGrouping": "466896f2-49c2-4c36-ad19-b63c04d5fed3",
    "ReceivedDate": "2018-11-16T23:00:36.8118544Z",
    "Invoices": [
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2018-11-16T23:00:36.831341Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2018-11-16T23:00:36.831341Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      },
      {
        "InvoiceId": 1,
        "Regarding": "sample string 2",
        "Allocations": [
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2018-11-16T23:00:36.831341Z",
            "NegotiatorId": 6,
            "Id": 7
          },
          {
            "UseBalanceAmount": 1.0,
            "ReceiptAmount": 2.0,
            "ToReceipt": 3.0,
            "ToAllocate": 4.0,
            "DateFundReceived": "2018-11-16T23:00:36.831341Z",
            "NegotiatorId": 6,
            "Id": 7
          }
        ],
        "TotalAllocated": 3.0,
        "TotalReceipted": 4.0,
        "Id": 5
      }
    ],
    "Id": 8
  }
]