Package rst.svc

Class IplWsvPsaRstApiTestSvc


  • @Path("api-test")
    public class IplWsvPsaRstApiTestSvc
    extends PsaRstApiSvcBas
    PSA_RST_API_TEST_SVC
    • Constructor Detail

      • IplWsvPsaRstApiTestSvc

        public IplWsvPsaRstApiTestSvc()
    • Method Detail

      • deleteCompanies

        @DELETE
        @Path("companies/{id}")
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteCompanies​(@PathParam("id")
                                                         java.lang.String gid,
                                                         @QueryParam("user")
                                                         java.lang.String user,
                                                         @QueryParam("language")
                                                         java.lang.String language)
                                                  throws java.lang.Exception
        Delete a company
        Parameters:
        gid - PSC_GID of the company to delete
        user - the user name to run the request with
        language - the data language (e.g. GER / ENG)
        Returns:
        response
        Throws:
        java.lang.Exception
      • getOrders

        @GET
        @Path("orders/{id}")
        @Produces("application/json")
        public javax.ws.rs.core.Response getOrders​(@PathParam("id")
                                                   java.lang.String gid,
                                                   @QueryParam("user")
                                                   java.lang.String user,
                                                   @QueryParam("language")
                                                   java.lang.String language)
                                            throws java.lang.Exception
        get a single order
        Parameters:
        gid - PSC_GID of the order
        user - the user name to run the request with
        language - the data language (e.g. GER / ENG)
        Returns:
        response with the order data as JSON
        Throws:
        java.lang.Exception