Difference between revisions of "GetUserRentedProducts"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Return a list of products that the user has been rented. This method has a adultFilter and a sort field to This method only can be used by log...")
 
 
Line 1: Line 1:
 
{{Api_Method_Spec|
 
{{Api_Method_Spec|
Description=Return a list of products that the user has been rented. This method has a adultFilter and a sort field to
+
Description=Return a list of products that the user has been rented. This method has a adultFilter and a sort field. The result is default ordered by the Title field.
  
 
This method only can be used by logged user.
 
This method only can be used by logged user.

Latest revision as of 18:34, 19 August 2014

Description

Return a list of products that the user has been rented. This method has a adultFilter and a sort field. The result is default ordered by the Title field.

This method only can be used by logged user.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • offset (int, optional)
The offset number of the returned values for this request
  • limit (int, optional)
The limit number of values for this request
  • adultFilter (adultFilterType, optional)
Type to represent Unknown, All, AdultOnly or NonAdultOnly. If the content is for adult and/or not adult or both.
  • sort ((movieSortType, optional)
SortTypeId to order result by the chosen field


Returns

Returns a JSON object containing an array of Product object.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content": {
Object of Product
}

}


Exceptions

  • None


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