change id to primitive class
Add params in get call