SetMinimumAgeRating

From Gvp-public
Revision as of 22:59, 23 July 2014 by Rcalvo (talk | contribs) (Created page with "{{Api_Method_Spec| Description=Sets a minimum user Age Rating |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=required |ParamDescription=A val...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Sets a minimum user Age Rating

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • deviceType (int, required)
The device type code (see #DeviceTypeCodes enumeration to know the list of device types allowed)
  • ageRatingId (int, required)
Age rating ID.
  • pin (String, optional)


Returns

Returns a JSON object containing return true if select minimum age rating or false without selected.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content": true

}


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