Competitions/Tournaments

Competitions/promotions/tournaments are a collection of contests, which consists of multiple products or event types for which individual events are collected for all participating members.

Competitions endpoints allows you to get information about your competitions which enables a developer to integrate with CompetitionLabs eco-system, determine which competitions are active and perform actions for members or events accordingly.

A single competition can consist of one or many contests.

What can you do?

Available Resources

Domain Object

Competition/Tournament


Parameter

Type

Description
















Request















Response
GETPUTPOSTDELETEGETPUTPOSTDELETE
accountId
StringUnique identifier of your account



YesYes
Yes
competitionType

Enum

  • Leaderboard
Competition Type

Yes

Yes
YesYesYes
entrantMemberType

Enum

  • Individual
  • Team
Member type that is either Individual or Team
YesYes
YesYesYes
numberOfRounds
IntegerNumber of rounds to be played in a competition
YesYes
YesYesYes
label
StringA label or a name of a competition. Can be translated.
YesYes
YesYesYes
description
StringDescription of the competition. Can be translated.
OptionalOptional
YesYesYes
termsConditions
StringTerms and conditions of a competition. Can be translated.
OptionalOptional
YesYesYes
options
ObjectOptions model contains all reference related information
YesYes
YesYesYes
metadata
Array [Object]A list of Metadata
OptionalOptional
YesYesYes
status

Enum

  • Unknown


  • Deleting

  • 
Deleted

  • Draft

  • Template

  • Preparing


  • Ready


  • Starting

  • 
Active

  • 
Finishing


  • Finished

  • Cancelling

  • 
Cancelled

A status of a competition
NoNo
YesYesYes

statusCode

Integer

  • -3 (Unknown
)

  • -2 (Deleting)

  • 
-1 (Deleted)

  • 
0 (Draft)

  • 1 (Template)
  • 
2 (Preparing
)

  • 3 (Ready
)

  • 4 (Starting)

  • 
5 (Active
)

  • 6 (Finishing
)

  • 7 (Finished)

  • 8 (Cancelling)

  • 9 
(Cancelled)

Integer value representation of the "status" field
NoNo
YesYesYes
created
DateTimeISO8601 timestamp for when a Competition was created. All records are stored in UTC time zone.



YesYesYes
id
StringUnique system identifier of a Competition



YesYes
Yes
translations
ObjectIt is a key-value pair of language code and a list of translations.The translatable fields are "label", "description" and "termsConditions". Translation model
OptionalOptional
YesYesYes

Note!

Competition Status values - Deleting, Preparing
, Starting, Finishing, and Cancelling are a type of transient status used by the system. Please do not use them for testing.