v2api to v3 api conversion on various calls