@Path(value="/report") public class ReportService extends Object
| Constructor and Description |
|---|
ReportService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getInvoiceReport(String id)
Retrieves the invoice report for a given invoice ID.
|
@GET
@Path(value="/invoice/{id}")
@Produces(value="application/json")
public javax.ws.rs.core.Response getInvoiceReport(@PathParam(value="id")
String id)
throws InvoiceNotFoundException,
CustomerNotFoundException,
GenericServerErrorException
id - Invoice ID will be taken from the path parameter.InvoiceNotFoundExceptionCustomerNotFoundExceptionGenericServerErrorExceptionCopyright © 2025 WSO2. All rights reserved.