mapping for view model and apis and models
