extended API call doListtypes
Merge pull request #1 from itag/master

listtypes API call