GetSubscription

From Gvp-public
Revision as of 16:32, 16 February 2016 by Pcl245 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Warning.png

This method has been deprecated in GVP 3.2. Please use GetAllSubscriptions instead


Description

Get the complete Subscription object with all data about the subscription. Using a SubscriptionId, a request is made against UNIAPI an take all information usually used to show more info in a detail page.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • subscriptionId (int, required)
The subscriptionId that wants request the data.


Returns

Returns a JSON object containing a Subscription object.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content":
[ Subscription object ]

}


Exceptions


Caching

This method is not cached.


Known issues

None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also