Package rst.svc
Class IplWsvPsaRstApiTestSvc
java.lang.Object
de.pisa.psa.rst.svc.PsaRstApiSvcBas
rst.svc.IplWsvPsaRstApiTestSvc
PSA_RST_API_TEST_SVC
-
Field Summary
Fields inherited from class de.pisa.psa.rst.svc.PsaRstApiSvcBas
COOKIE_JRAUTH, IAM_Key, IAM_Service, IAM_User_Info, Request, User
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.pisa.psa.rst.svc.PsaRstApiSvcBas
createEvent, getAuthorizationHeader, getData, getIAMUserInfo, getIAMUserInfo, getLanguageFromRequest, getRequestCookie, getRequestHeader, getRequestHeaders, getRequestLanguages, getRequestMethod, getRequestPath, getRequestQuery, handleRequest, initialize, isSynchronous, loadConfiguration, newSsn, processEvent, setConfig, setEvent, validateIAM, validateKey
-
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 deleteuser
- the user name to run the request withlanguage
- 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 orderuser
- the user name to run the request withlanguage
- the data language (e.g. GER / ENG)- Returns:
- response with the order data as JSON
- Throws:
Exception
-