DELETE api/Invoice
Request Information
URI Parameters
None.
Body Parameters
CancellationRequestName | Description | Type | Additional information |
---|---|---|---|
APIKey | string |
Required |
|
ClientId | string |
Required |
|
InvoiceType | CancellationType |
Required |
|
InvoiceId | globally unique identifier |
Required |
|
CancellationId | globally unique identifier |
Required |
|
Reason | CancellationReason |
None. |
Request Formats
application/json, text/json
Sample:
{ "APIKey": "sample string 1", "ClientId": "sample string 2", "InvoiceType": 0, "InvoiceId": "efbcd0e2-8ee8-404a-85cb-cead8a401e7a", "CancellationId": "5a737ef6-d34c-4a52-89f9-89c8e9e556ae", "Reason": 0 }
application/xml, text/xml
Sample:
<CancellationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.Invoice"> <APIKey>sample string 1</APIKey> <CancellationId>5a737ef6-d34c-4a52-89f9-89c8e9e556ae</CancellationId> <ClientId>sample string 2</ClientId> <InvoiceId>efbcd0e2-8ee8-404a-85cb-cead8a401e7a</InvoiceId> <InvoiceType>invoicedetail</InvoiceType> <Reason>eventcancelled</Reason> </CancellationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseName | Description | Type | Additional information |
---|---|---|---|
Status | Status |
None. |
|
Id | globally unique identifier |
None. |
|
Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 0, "Id": "c4f74e34-150f-453c-96ef-926b8adce012", "Description": "sample string 2" }
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.Response"> <Description>sample string 2</Description> <Id>c4f74e34-150f-453c-96ef-926b8adce012</Id> <Status>Success</Status> </APIResponse>