Class HolidaysApiResource

java.lang.Object
org.apache.fineract.organisation.holiday.api.HolidaysApiResource

@Path("/v1/holidays") @Component public class HolidaysApiResource extends Object
  • Constructor Details

    • HolidaysApiResource

      public HolidaysApiResource()
  • Method Details

    • createNewHoliday

      @POST @Consumes("application/json") @Produces("application/json") public String createNewHoliday(String apiRequestBodyAsJson)
    • handleCommands

      @POST @Path("{holidayId}") @Consumes("application/json") @Produces("application/json") public String handleCommands(@PathParam("holidayId") Long holidayId, @QueryParam("command") String commandParam, String apiRequestBodyAsJson)
    • retrieveOne

      @GET @Path("{holidayId}") @Consumes("application/json") @Produces("application/json") public String retrieveOne(@PathParam("holidayId") Long holidayId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • update

      @PUT @Path("{holidayId}") @Consumes("application/json") @Produces("application/json") public String update(@PathParam("holidayId") Long holidayId, String jsonRequestBody)
    • delete

      @DELETE @Path("{holidayId}") @Consumes("application/json") @Produces("application/json") public String delete(@PathParam("holidayId") Long holidayId)
    • retrieveAllHolidays

      @GET @Consumes("application/json") @Produces("application/json") public String retrieveAllHolidays(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("officeId") Long officeId, @QueryParam("fromDate") org.apache.fineract.infrastructure.core.api.DateParam fromDateParam, @QueryParam("toDate") org.apache.fineract.infrastructure.core.api.DateParam toDateParam, @QueryParam("locale") String locale, @QueryParam("dateFormat") String rawDateFormat)
    • retrieveRepaymentScheduleUpdationTyeOptions

      @GET @Path("/template") @Consumes("application/json") @Produces("application/json") public String retrieveRepaymentScheduleUpdationTyeOptions(@Context jakarta.ws.rs.core.UriInfo uriInfo)