if (doOrder(node, members))
{
return Response.ok().build();
}
OrderPatchResponseEntity orderPatchEntity = new OrderPatchResponseEntity(nsContext, uri, node, members);
return Response.status(HTTPStatus.MULTISTATUS).entity(orderPatchEntity).build();
}
catch (PathNotFoundException exc)
{
return Response.status(HTTPStatus.NOT_FOUND).entity(exc.getMessage()).build();