GetCategory
From Wiki
The 'getCategory' API request will return a predefined number of category objects. If no category IDs are passed then no category objects will be returned.
Parameters
Element |
Type |
iCategoryId required |
The ID's of the categories to get
Value Type: int |
iAdult optional |
Allow adult content
Value Type: int |
Response
oCategory |
Objects of type Category
Value Type: Category |
Example Request (parameters)
$aParams1 = array('iCategoryId' => 69); $oResponse = $oClient->call('getCategory', $aParams1);
Example Respomse
stdClass Object ( [oCategory] => stdClass Object ( [iId] => 69 [sName] => Storage Media [iParentId] => 61 [sDescription] => Storage Media [iAdult] => 0 ) )