POST api/Invoice/CancelProformaInvoice
Request Information
URI Parameters
None.
Body Parameters
CancelPIModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ProformaInvoiceId | integer |
None. |
|
| CancellationReason | string |
None. |
|
| CancellationDate | date |
None. |
|
| CancelledBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProformaInvoiceId": 1,
"CancellationReason": "sample string 2",
"CancellationDate": "2026-02-07T17:51:35.8798365+05:30",
"CancelledBy": 1
}
application/xml, text/xml
Sample:
<InvoiceController.CancelPIModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/labman_api.Controllers"> <CancellationDate>2026-02-07T17:51:35.8798365+05:30</CancellationDate> <CancellationReason>sample string 2</CancellationReason> <CancelledBy>1</CancelledBy> <ProformaInvoiceId>1</ProformaInvoiceId> </InvoiceController.CancelPIModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.