Difference between revisions of "SetMinimumAgeRating"

From Gvp-public
Jump to navigation Jump to search
 
Line 25: Line 25:
 
ParamName=pin
 
ParamName=pin
 
|ParamType=String
 
|ParamType=String
|ParamRequired=optional
+
|ParamRequired=required
 
|ParamDescription=Parental PIN
 
|ParamDescription=Parental PIN
 
}}
 
}}

Latest revision as of 09:20, 22 July 2024

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 (age).
  • pin (String, required)
Parental PIN


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