DELETE v1/Generic/InvoiceDelete

Soft deletes an Invoice (Active to 0)

This is secure method and requires below attributes in header

Authorization: PRC Authorize Token
Authorization: Midnight Authorize Token
MISKEY: MIS Key

Request Information

URI Parameters

None.

Body Parameters

DeleteInvoiceRequestModel
NameDescriptionTypeAdditional information
InvoiceID

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "InvoiceID": 1
}

application/xml, text/xml

Sample:
<DeleteInvoiceRequestModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <InvoiceID>1</InvoiceID>
</DeleteInvoiceRequestModel>

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

Response Information

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>