Returns all active or inactive entities and respective levels below the requested entity id.

Returns all active or inactive entities below the requested entity id.