getById function retrieves an obj including the id and deal
Merge pull request #6 from davidmansy/feature

getById function retrieves an obj including the id and deal