@Produces({MediaType.APPLICATION_JSON})
@Consumes({MediaType.APPLICATION_JSON})
@Path("/{id}")
public Response deleteOrder(@PathParam("id") String id) {
OrderActivity orderActivity = new OrderActivity();
String res = orderActivity.deleteOrder(id);
if (res.equals("OK")) {
return Response.status(Status.OK).build();
}
return null;
}