Difference between revisions of "GetInstanceInterests"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description= |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=required |ParamDescription=A valid token for identifying the AP...")
 
Line 10: Line 10:
 
}}
 
}}
 
{{Api_Parameter|
 
{{Api_Parameter|
ParamName=seriesId
+
ParamName=instanceId
 
|ParamType=int
 
|ParamType=int
 
|ParamRequired=required
 
|ParamRequired=required
|ParamDescription=Id of the series to return the schedule.
+
|ParamDescription=The id of the instance (OB) for the current environment. This ID might vary depending on the environment.
}}
 
{{Api_Parameter|
 
ParamName=startDate
 
|ParamType=int
 
|ParamRequired=required
 
|ParamDescription=Starting time period for the query (long int).
 
}}
 
{{Api_Parameter|
 
ParamName=endDate
 
|ParamType=int
 
|ParamRequired=required
 
|ParamDescription=Ending time period for the query (long int)
 
}}
 
{{Api_Parameter|
 
ParamName=liveChannelId
 
|ParamType=int
 
|ParamRequired=optional
 
|ParamDescription=Channel ID.
 
}}
 
{{Api_Parameter|
 
ParamName=offset
 
|ParamType=int
 
|ParamRequired=optional
 
|ParamDescription=Index of the initial result of the list, begins with 0
 
}}
 
{{Api_Parameter|
 
ParamName=limit
 
|ParamType=int
 
|ParamRequired=optional
 
|ParamDescription=Quantity of results showed, with the maximum of 100.
 
 
}}
 
}}
  
Line 50: Line 20:
  
 
'''Example:'''
 
'''Example:'''
 
 
{
 
{
 
   "StatusCode": 0,
 
   "StatusCode": 0,
 
   "Severity": 1,
 
   "Severity": 1,
 
   "StatusMessage": "OK",
 
   "StatusMessage": "OK",
   "Content": {
+
   "Content": [
    "Offset": 0,
+
    {
    "Limit": 100,
+
      "ID": 12,
    "Count": 0,
+
      "Description": "Int_3_0_10 d",
    "List": []
+
      "Name": "Int_3_0_10",
  }
+
      "ResizableImages": [
 +
        {
 +
          "ID": 0,
 +
          "Url": "",
 +
          "Width": 0,
 +
          "Height": 0,
 +
          "Type": 0,
 +
          "Ext": ""
 +
        }
 +
      ]
 +
    }
 +
    { ... }
 
}
 
}
  

Revision as of 09:56, 22 September 2015

Description

Parameters

  • token (String, required)
A valid token for identifying the API session context and logged user.
  • instanceId (int, required)
The id of the instance (OB) for the current environment. This ID might vary depending on the environment.


Returns

Returns a JSON object with the list of series objects.

Example: {

 "StatusCode": 0,
 "Severity": 1,
 "StatusMessage": "OK",
 "Content": [
   {
     "ID": 12,
     "Description": "Int_3_0_10 d",
     "Name": "Int_3_0_10",
     "ResizableImages": [
       {
         "ID": 0,
         "Url": "",
         "Width": 0,
         "Height": 0,
         "Type": 0,
         "Ext": ""
       }
     ]
   }
   { ... }

}


Exceptions

TO BE COMPLETED


Caching

Known issues

None


Version history

TO BE COMPLETED


See also