InvoiceApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
| Method | HTTP request | Description |
|---|---|---|
| deleteInvoice | DELETE InvoiceApi | Delete a Invoice. |
deleteInvoice
Void
deleteInvoice(id)
Delete a Invoice.
Deletes a specific Invoice.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.InvoiceApi;
InvoiceApi apiInstance = new InvoiceApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Invoice.
try {
Void result = apiInstance.deleteInvoice(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InvoiceApi#deleteInvoice");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the Invoice. |
Return type
Void
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getInvoice
Invoice
getInvoice(id)
Retrieve a single Invoice
Retrieves a single Invoice for a specific uid.