Package rst.svc

Class IplWsvPsaRstApiTestSvc


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

    • IplWsvPsaRstApiTestSvc

      public IplWsvPsaRstApiTestSvc()
  • Method Details

    • deleteCompanies

      @DELETE @Path("companies/{id}") @Produces("application/json") public javax.ws.rs.core.Response deleteCompanies(@PathParam("id") String gid, @QueryParam("user") String user, @QueryParam("language") String language) throws 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:
      Exception
    • getOrders

      @GET @Path("orders/{id}") @Produces("application/json") public javax.ws.rs.core.Response getOrders(@PathParam("id") String gid, @QueryParam("user") String user, @QueryParam("language") String language) throws 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:
      Exception