@Produces("application/json")
public Response updatePlace(@Context UriInfo uriInfo,@PathParam("user") String user, @PathParam("etiqueta") String PlaceEtiqueta,Place Place)
{
Place oldPlace = getPlace(user, PlaceEtiqueta);
if(Place == null){
throw new NotFoundException(PlaceEtiqueta+"no fue encontrado en "+user);
}
if(! oldPlace.getEtiqueta().equals(Place.getEtiqueta())){
return Response.status(javax.ws.rs.core.Response.Status.CONFLICT).build();
}
oldPlace.setDia(Place.getDia());