@Path(value="accounting/sageone/{shopId}") public class ConfigResource extends SageoneBaseResource
Modifier and Type | Field and Description |
---|---|
(package private) ConfigurationService |
configurationService |
config, log, versionEpages6
Constructor and Description |
---|
ConfigResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getShopConfig(java.lang.String shopId) |
javax.ws.rs.core.Response |
setShopConfig(java.lang.String shopId,
ShopConfig shopConfig) |
matchIntegrationVersions
@Inject ConfigurationService configurationService
@PUT @Path(value="config") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response setShopConfig(@PathParam(value="shopId") java.lang.String shopId, ShopConfig shopConfig)
@GET @Path(value="config") @Produces(value="application/json") public javax.ws.rs.core.Response getShopConfig(@PathParam(value="shopId") java.lang.String shopId)