GetUserRentedProducts

From Gvp-public
Revision as of 18:34, 19 August 2014 by Rcalvo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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