You have a persistent entity referencing a non-persistent entity, which is not allowed.
It's best to let the import mapping create new non-persistent entities in your domain model for the entire data structure. You can process the data to your persistent model in a microflow when you make the restcall.