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
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.
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 {
Invoice result = apiInstance.getInvoice(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InvoiceApi#getInvoice");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Invoice. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getInvoiceList
Invoice
getInvoiceList(pagesizesort)
Retrieve a list of Invoices
Retrieves a list of Invoices.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.InvoiceApi;
InvoiceApi apiInstance = new InvoiceApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
Invoice result = apiInstance.getInvoiceList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InvoiceApi#getInvoiceList");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | [optional] [default to 0] | |
size | Integer | [optional] [default to 20] | |
sort | List<String> | [optional] |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
postInvoice
Invoice
postInvoice(invoice)
Create a new Invoice
Creates a new Invoice.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.InvoiceApi;
InvoiceApi apiInstance = new InvoiceApi();
Invoice invoice = new Invoice(); // Invoice | Invoice details.
try {
Invoice result = apiInstance.postInvoice(invoice);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InvoiceApi#postInvoice");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
invoice | Invoice | Invoice details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateInvoice
Invoice
updateInvoice(idinvoice)
Update an existing Invoice
Updates an existing 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.
Invoice invoice = new Invoice(); // Invoice | Updated Invoice details.
try {
Invoice result = apiInstance.updateInvoice(idinvoice);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InvoiceApi#updateInvoice");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the Invoice. | |
invoice | Invoice | Updated Invoice details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
Generated Version Details
~ | value |
---|---|
GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0.1-SNAPSHOT |
API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
GENERATED DATE | 2025-09-03T16:35:42.569765-07:00[America/Los_Angeles] |