[FEATURE] Support platform-code attribute on end reasons