POST api/Invoice/UpdateInvoiceDetails

Request Information

URI Parameters

None.

Body Parameters

UpdateInvoiceDTO
NameDescriptionTypeAdditional information
InvoiceID

integer

Required

InvoiceNumber

string

Required

PONumber

string

Required

InvoiceDate

date

Required

Amount

decimal number

Required

Remark

string

None.

PurchaseOrderType

string

None.

intInvoiceTypeID

integer

None.

CGSTAmt

decimal number

None.

SGSTAmt

decimal number

None.

IGSTAmt

decimal number

None.

ExceedAmt

decimal number

None.

BalanceAmt

decimal number

None.

Domain

string

Required

Request Formats

application/json, text/json

Sample:
{
  "InvoiceID": 1,
  "InvoiceNumber": "sample string 2",
  "PONumber": "sample string 3",
  "InvoiceDate": "2021-12-05T13:35:57.6673011+05:30",
  "Amount": 5.0,
  "Remark": "sample string 6",
  "PurchaseOrderType": "sample string 7",
  "intInvoiceTypeID": 8,
  "CGSTAmt": 9.0,
  "SGSTAmt": 10.0,
  "IGSTAmt": 11.0,
  "ExceedAmt": 12.0,
  "BalanceAmt": 13.0,
  "Domain": "sample string 14"
}

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

Response Information

Resource Description

Message
NameDescriptionTypeAdditional information
ResponseFlag

integer

None.

ResponseMessage

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseFlag": 1,
  "ResponseMessage": "sample string 2",
  "Data": {}
}