@Path(value="accounting/sageone/{shopId}") public class StatusResource extends SageoneBaseResource
Modifier and Type | Field and Description |
---|---|
private StatusService |
statusService |
config, log, versionEpages6
Constructor and Description |
---|
StatusResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getOrderStatus(java.lang.String shopId,
java.lang.String orderId) |
javax.ws.rs.core.Response |
getShopStatus(java.lang.String shopId) |
matchIntegrationVersions
@Inject private StatusService statusService
@GET @Path(value="status") @Produces(value="application/json") public javax.ws.rs.core.Response getShopStatus(@PathParam(value="shopId") java.lang.String shopId)
@GET @Path(value="orders/{orderId}/status") @Produces(value="application/json") public javax.ws.rs.core.Response getOrderStatus(@PathParam(value="shopId") java.lang.String shopId, @PathParam(value="orderId") java.lang.String orderId)