It would be helpful if the document id could be returned in the CompoundEntityVersionWsTO Model of the REST webservice api. As alternative the webcube url like the iecm link.