SubscriptionsApi sample