Use enum to identify endpoint
Impl client for fetching objects based on class from AMS api