Issue #2706: Added optional $brandId to Sp_Api::getEvents().