Difference between revisions of "GetGenre"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Returns the genre information by an specified Genre. |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=required |Par...")
 
 
Line 27: Line 27:
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"Content"</span>:  
 
:    <span style="color: #a11;">"Content"</span>:  
::    [ <span style="color: #219;">[[Genre]] object</span> ]
+
::    { <span style="color: #219;">[[Genre]] object</span> }
 
}
 
}
  

Latest revision as of 18:04, 9 June 2014

Description

Returns the genre information by an specified Genre.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • genreId (int, required)
The genreId that would request the data.


Returns

Returns a JSON object containing the Genre object.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content":
{ Genre object }

}


Exceptions


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