Difference between revisions of "GetSubscription"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Get the complete Subscription object with all data about the subscription. Using a SubscriptionId, a request is made against UNIAPI an take all inf...")
 
 
Line 1: Line 1:
 +
{{Deprecated|Message=This method has been deprecated in GVP 3.2. Please use [[GetAllSubscriptions]] instead}}
 +
 
{{Api_Method_Spec|
 
{{Api_Method_Spec|
 
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.
 
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.

Latest revision as of 16:32, 16 February 2016

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