self saving account path param changes

This commit is contained in:
nazeer shaik
2017-06-14 19:08:40 +05:30
parent cbfdfa001a
commit 17ff4b54c5
@@ -92,7 +92,7 @@ public class SelfSavingsApiResource {
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
public String retrieveSavingsTransaction(
@PathParam("savingsId") final Long accountId,
@PathParam("accountId") final Long accountId,
@PathParam("transactionId") final Long transactionId,
@Context final UriInfo uriInfo) {
@@ -109,7 +109,7 @@ public class SelfSavingsApiResource {
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
public String retrieveAllSavingsAccountCharges(
@PathParam("savingsAccountId") final Long accountId,
@PathParam("accountId") final Long accountId,
@DefaultValue("all") @QueryParam("chargeStatus") final String chargeStatus,
@Context final UriInfo uriInfo) {
@@ -125,7 +125,7 @@ public class SelfSavingsApiResource {
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
public String retrieveSavingsAccountCharge(
@PathParam("savingsAccountId") final Long accountId,
@PathParam("accountId") final Long accountId,
@PathParam("savingsAccountChargeId") final Long savingsAccountChargeId,
@Context final UriInfo uriInfo) {