public interface SageoneRequestExecutor
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
execute(HttpRequest<javax.ws.rs.core.Form> request,
java.lang.String shopId)
Prepares Request for sageone, and executes the call.
|
javax.ws.rs.core.Response execute(HttpRequest<javax.ws.rs.core.Form> request, java.lang.String shopId) throws RequestException
request
- the request to be sentshopId
- the id of the shop, for getting the correct accesstokenRequestException
- if something went wrong sending the request