POST api/Invoice/InsertInvoiceDetails

Request Information

URI Parameters

None.

Body Parameters

InsertInvoiceDTO
NameDescriptionTypeAdditional information
InvoiceNumber

string

Required

PONumber

string

Required

InvoiceDate

date

Required

Amount

decimal number

Required

Remark

string

None.

BalAmt

decimal number

None.

Stage

integer

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:
{
  "InvoiceNumber": "sample string 1",
  "PONumber": "sample string 2",
  "InvoiceDate": "2021-11-27T14:11:20.4149714+05:30",
  "Amount": 4.0,
  "Remark": "sample string 5",
  "BalAmt": 6.0,
  "Stage": 7,
  "PurchaseOrderType": "sample string 8",
  "intInvoiceTypeId": 9,
  "CGSTAmt": 10.0,
  "SGSTAmt": 11.0,
  "IGSTAmt": 12.0,
  "ExceedAmt": 13.0,
  "BalanceAmt": 14.0,
  "Domain": "sample string 15"
}

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

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": {}
}