POST api/invoice/saveforlater

Request Information

URI Parameters

None.

Body Parameters

Collection of SaveForLaterReceiptDataContract
NameDescriptionTypeAdditional information
BalanceAmount

decimal number

None.

ReceiptAmount

decimal number

None.

Name

string

None.

NegotiatorId

integer

None.

OriginalTotalOutstanding

integer

None.

Allocations

Collection of InvoiceItemAllocationDataContract

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "BalanceAmount": 1.0,
    "ReceiptAmount": 2.0,
    "Name": "sample string 3",
    "NegotiatorId": 4,
    "OriginalTotalOutstanding": 5,
    "Allocations": [
      {
        "Amount": 1.0,
        "InvoiceItemId": 2
      },
      {
        "Amount": 1.0,
        "InvoiceItemId": 2
      }
    ],
    "Id": 6
  },
  {
    "BalanceAmount": 1.0,
    "ReceiptAmount": 2.0,
    "Name": "sample string 3",
    "NegotiatorId": 4,
    "OriginalTotalOutstanding": 5,
    "Allocations": [
      {
        "Amount": 1.0,
        "InvoiceItemId": 2
      },
      {
        "Amount": 1.0,
        "InvoiceItemId": 2
      }
    ],
    "Id": 6
  }
]

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.