Class ApiOne


  • @Path("v1")
    public class ApiOne
    extends Object

    Api v1 principal: Conexion a varias base de datos

    Author:
    Heinz Keydel
    • Constructor Detail

      • ApiOne

        public ApiOne()
    • Method Detail

      • balanceDeductible

        @GET
        @Path("/findBalanceDeductible")
        @Produces("application/json")
        public void balanceDeductible​(@Suspended
                                      javax.ws.rs.container.AsyncResponse asyncResponse,
                                      @QueryParam("databaseType")
                                      String databaseType,
                                      @QueryParam("country")
                                      Integer country,
                                      @QueryParam("cardNumber")
                                      String cardNumber,
                                      @QueryParam("ref1")
                                      String ref1,
                                      @QueryParam("ref2")
                                      String ref2,
                                      @QueryParam("ref3")
                                      String ref3,
                                      @QueryParam("ref4")
                                      String ref4,
                                      @QueryParam("date")
                                      String date)
        Endpoint publico de acceso GET
        Parameters:
        asyncResponse - Parametro para control de respuesta asyncrona
        databaseType - "MP" = VIDA MEDIPROCESOS, "TS" = VIDA TECNISEGUROS, "ST" = SALUD TOTAL
        country - Pais de consumo 502 ya que unicamente esta configurado con bases de GT
        cardNumber - Numero de carne del asegurado
        ref1 - Referencia 1
        ref2 - Referencia 2
        ref3 - Referencia 3
        ref4 - Referencia 4
        date - Fecha de consumo