If you registered for the Johto x Alola Online Competition and completed at least one match, you can now claim your participation prize of 50 Battle Points. Just log in to the Pokémon Global Link (PGL) using the game you used to participate in the Johto x Alola Online Competition, and then click here. To redeem the code in your game, select Mystery Gift from the main menu, then select Receive Gift, and then select Get with Code/Password and follow the prompts to enter your special code. Be sure to enter the code in your Pokémon Ultra Sun or Pokémon Ultra Moon game before January 30, 2018, at 23:59 UTC.
Be sure to visit the official Online Competitions page for Johto x Alola Online Competition player and Pokémon rankings.
Source: Pokémon Global Link