Added parentEventToken to getSamples(forStudy/forAssay) via flattenDomainData