POST api/invoice/raisecreditnote

Request Information

URI Parameters

None.

Body Parameters

RaiseCreditNoteDataContract
NameDescriptionTypeAdditional information
DateTime

date

None.

IssuingParty

IssuingParty

None.

ReceipientAccountId

integer

None.

Description

string

None.

Items

Collection of CreditNoteItemDataContract

None.

Reason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DateTime": "2018-11-16T13:28:53.9459891Z",
  "IssuingParty": 0,
  "ReceipientAccountId": 1,
  "Description": "sample string 2",
  "Items": [
    {
      "InvoiceItemId": 1,
      "Amount": 2.0,
      "LiabilityAccountType": 0
    },
    {
      "InvoiceItemId": 1,
      "Amount": 2.0,
      "LiabilityAccountType": 0
    }
  ],
  "Reason": "sample string 3"
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.