POST api/invoice/saveforlater

Save expected receipts progress Processes this invoice API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The receipts value supplied with the request.

Collection of SaveForLaterReceiptDataContract
NameDescriptionTypeAdditional information
BalanceAmount

The balance amount value.

decimal number

None.

ReceiptAmount

The receipt amount value.

decimal number

None.

Name

The name value.

string

None.

NegotiatorId

The unique identifier of the related negotiator resource.

integer

None.

OriginalTotalOutstanding

The original total outstanding value.

integer

None.

Allocations

The collection of allocations.

Collection of InvoiceItemAllocationDataContract

None.

Id

The unique identifier of this resource.

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

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
  }
]

Response Information

Resource Description

The response returned after the operation completes.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.