Added getattr for RestApi
Added API for Number