POST api/invoice/raiseadjustment

Request Information

URI Parameters

None.

Body Parameters

RaiseAdjustmentDataContract
NameDescriptionTypeAdditional information
Amount

decimal number

None.

DateTime

date

None.

AdjustmentType

AdjustmentItemType

None.

InvoiceItemId

integer

None.

Description

string

None.

BankAccountId

integer

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.0,
  "DateTime": "2018-11-14T15:49:31.9134322Z",
  "AdjustmentType": 0,
  "InvoiceItemId": 2,
  "Description": "sample string 3",
  "BankAccountId": 4,
  "Id": 5
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.