gogol-apps-reseller-0.0.1: Google Enterprise Apps Reseller SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




Lists subscriptions of a reseller, optionally filtered by a customer name prefix.

See: Enterprise Apps Reseller API Reference for reseller.subscriptions.list.


REST Resource

type SubscriptionsListResource = "apps" :> ("reseller" :> ("v1" :> ("subscriptions" :> (QueryParam "customerNamePrefix" Text :> (QueryParam "customerId" Text :> (QueryParam "customerAuthToken" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` Subscriptions))))))))) Source

A resource alias for reseller.subscriptions.list method which the SubscriptionsList request conforms to.

Creating a Request

subscriptionsList :: SubscriptionsList Source

Creates a value of SubscriptionsList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

slCustomerNamePrefix :: Lens' SubscriptionsList (Maybe Text) Source

Prefix of the customer's domain name by which the subscriptions should be filtered. Optional

slCustomerAuthToken :: Lens' SubscriptionsList (Maybe Text) Source

An auth token needed if the customer is not a resold customer of this reseller. Can be generated at https://www.google.com/a/cpanel/customer-domain/TransferToken.Optional.

slPageToken :: Lens' SubscriptionsList (Maybe Text) Source

Token to specify next page in the list

slMaxResults :: Lens' SubscriptionsList (Maybe Word32) Source

Maximum number of results to return