GetDescendantCategoryIds

From Wiki

Jump to: navigation, search

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
        )

)

Privacy

Due to new European legislation regarding how websites store information about you, AWIN is updating its privacy policy. You can see the new version of our policy here. If you would like to see the information we capture on this website, please click here for further details. In order to accept cookies on this site please click the 'I ACCEPT' button