Interface IPnLVectorSubstitutionRestService<T extends PnLVectorSubstitutionDTO>
-
- Type Parameters:
T
- the class of the DTO used as input for the RESTful service
- All Known Implementing Classes:
APnLVectorSubstitutionRestService
,PnLVectorSubstitutionRestService
,SignOffPnLVectorSubstitutionRestService
public interface IPnLVectorSubstitutionRestService<T extends PnLVectorSubstitutionDTO>
Interface for PnL vector substitution RESTful service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
getPreviousAsOfDates(String tradeId, String asOfDate, String scenarioSet, String calculationId, String riskFactor)
javax.ws.rs.core.Response
submit(T pnlVectorSubstitutionDTO)
-
-
-
Method Detail
-
submit
@POST @Path("/submit") @Produces("application/json") @Consumes("application/json") javax.ws.rs.core.Response submit(T pnlVectorSubstitutionDTO)
-
getPreviousAsOfDates
@GET @Produces("application/json") javax.ws.rs.core.Response getPreviousAsOfDates(@QueryParam("tradeId") String tradeId, @QueryParam("asOfDate") String asOfDate, @QueryParam("scenarioSet") String scenarioSet, @QueryParam("calculationId") String calculationId, @QueryParam("riskFactor") String riskFactor)
-
-