listtypes API call

We extended the API for the call type "listtypes"