Difference between revisions of "SearchProducts"

From Gvp-public
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Deprecated|Message=This method has been deprecated in GVP 3.2. Please use [[SearchContent]] instead}}
 
{{Deprecated|Message=This method has been deprecated in GVP 3.2. Please use [[SearchContent]] instead}}
 +
 +
{{Api_Method_Spec|
 +
Description=
 +
 +
 +
|Parameters=
 +
 +
{{Api_Parameter|
 +
ParamName=token
 +
|ParamType=String
 +
|ParamRequired=required
 +
|ParamDescription=A valid token for identifying the API session context. The token can be anonymous or logged.
 +
}}
 +
{{Api_Parameter|
 +
ParamName=channelId
 +
|ParamType=int
 +
|ParamRequired=required
 +
|ParamDescription=Id of the channel that wants to return the object information.
 +
}}
 +
{{Api_Parameter|
 +
ParamName=includeChildMovies
 +
|ParamType=boolean
 +
|ParamRequired=optional
 +
|ParamDescription=Requests the inclusion of the movies present in the channels below the one requested.
 +
}}
 +
{{Api_Parameter|
 +
ParamName=typeFilter
 +
|ParamType=array
 +
|ParamRequired=optional
 +
|ParamDescription=
 +
}}
 +
{{Api_Parameter|
 +
ParamName=adultFilter
 +
|ParamType=enum
 +
|ParamRequired=optional
 +
|ParamDescription=
 +
}}
 +
{{Api_Parameter|
 +
ParamName=filter
 +
|ParamType=string
 +
|ParamRequired=required
 +
|ParamDescription=
 +
}}
 +
{{Api_Parameter|
 +
ParamName=sort
 +
|ParamType=enum
 +
|ParamRequired=optional
 +
|ParamDescription=
 +
}}
 +
{{Api_Parameter|
 +
ParamName=productTrype
 +
|ParamType=int
 +
|ParamRequired=optional
 +
|ParamDescription=
 +
}}
 +
{{Api_Parameter|
 +
ParamName=offset
 +
|ParamType=int
 +
|ParamRequired=optional
 +
|ParamDescription=The offset number of the returned values for this request
 +
}}
 +
{{Api_Parameter|
 +
ParamName=limit
 +
|ParamType=int
 +
|ParamRequired=optional
 +
|ParamDescription=The limit number of values for this request
 +
}}
 +
 +
|Returns=
 +
Returns a JSON object containing all selected products in JSON format.
 +
 +
|Exceptions=
 +
None
 +
 +
|Cache=
 +
This method is cached in anonymousOnly section.
 +
 +
|KnownIssues=
 +
None
 +
 +
|VersionHistory=
 +
 +
 +
|SeeAlso=
 +
}}

Revision as of 15:39, 22 September 2015

Warning.png

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


Description

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • channelId (int, required)
Id of the channel that wants to return the object information.
  • includeChildMovies (boolean, optional)
Requests the inclusion of the movies present in the channels below the one requested.
  • typeFilter (array, optional)
  • adultFilter (enum, optional)
  • filter (string, required)
  • sort (enum, optional)
  • productTrype (int, optional)
  • offset (int, optional)
The offset number of the returned values for this request
  • limit (int, optional)
The limit number of values for this request


Returns

Returns a JSON object containing all selected products in JSON format.


Exceptions

None


Caching

This method is cached in anonymousOnly section.


Known issues

None


Version history

See also