Welcome‎ > ‎Version 3‎ > ‎Publisher Api‎ > ‎Methods‎ > ‎6 - Subscription Management‎ > ‎

Get Subscription Lists

Will retrieve a list of subscription lists available to subscribers at a third party email service provider.

Method: GET /api/v3/publisher/subscriptionLists
Authentication: oauth
 
Parameters
none

Returns
base response fields
SubscriptionLists - Will return a list of Subscription List.

Sample Request:

GET  http://api.groupcommerce.com/api/v3/publisher/subscriptionLists

Authorization: OAuth oauth_signature="9M1MfEns58El88f%2BDCyXchRo5Yc%3D", oauth_nonce="9818322", oauth_timestamp="1331847279", oauth_consumer_key="0a4e9532-6271-4f05-b906-ebe793a951a6", oauth_signature_method="HMAC-SHA1", oauth_version="1.0"

Sample JSON Response:

{
    "errors": [],
    "lastPublished": "/Date(1331848406946)/",
    "success": true,
    "version": "3",
    "subscriptionLists": [
        {
            /* see Subscription List */
        },
        {
           
/* see Subscription List */
        }
    ]
}


Sample XML Response:

<getSubscriptionListsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <errors />
  <lastPublished>2012-03-15T21:34:39.6163033Z</lastPublished>
  <success>true</success>
  <version>3</version>
  <subscriptionLists>
    <subscriptionList>
     
<!-- see Subscription List -->
    </subscriptionList>
    <subscriptionList>
      <!-- see Subscription List -->
    </subscriptionList>
  </subscriptionLists>
</getSubscriptionListsResponse>
Comments