GetDescendantCategoryIds
From Wiki
The 'GetDescendantCategoryIds' API request will return the category ID's that descend from the specified category.
Parameters
Element |
Type |
iCategoryId required |
The ID of the category
Value Type: int |
iAdult optional |
Allow adult content
Value Type: int |
Response
iDescendantCategoryId |
The IDs of any descendant categories
Value Type: ArrayOfInt |
Example Request (parameters)
$aParams4 = array('iCategoryId' => 69); $oResponse = $oClient->call('getDescendantCategoryIds', $aParams4);
Example Response
stdClass Object ( [iDescendantCategoryId] => Array ( [0] => 213 [1] => 215 [2] => 216 [3] => 218 [4] => 220 [5] => 221 ) )