DELETE api/Invoice
Request Information
URI Parameters
None.
Body Parameters
CancellationRequest| Name | 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": "49f41ce2-fb0c-4b3c-b1ee-9c29182fe1dc",
"CancellationId": "f03e6c9e-b7ce-4fd1-8acd-625c7f479067",
"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>f03e6c9e-b7ce-4fd1-8acd-625c7f479067</CancellationId> <ClientId>sample string 2</ClientId> <InvoiceId>49f41ce2-fb0c-4b3c-b1ee-9c29182fe1dc</InvoiceId> <InvoiceType>invoicedetail</InvoiceType> <Reason>eventcancelled</Reason> </CancellationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponse| Name | 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": "b6582d72-5c6b-4d6f-aea8-8e22331f5d8e",
"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>b6582d72-5c6b-4d6f-aea8-8e22331f5d8e</Id> <Status>Success</Status> </APIResponse>