Challenge details
This service returns the details and rules of a challenge.
The most important characteristics of a challenge are the name, the theme and the conditions required to be ranked (minimum number of trips and distance).
If you have your admin API key, you can try the API via this link.
Response
The table below summarizes the elements included in the ChallengeDetailResponse
object.
Field | Type | Description |
---|---|---|
challengeId |
| Unique identifier of the challenge |
title |
| Title of the challenge |
description |
| Detailed description of the challenge |
creationDate |
| Creation date of the challenge
Date format: |
startDate |
| Starting date of the challenge
Date format: |
endDate |
| Ending date of the challenge
Date format: |
conditions | Conditions that need to be filled for a user to be ranked | |
theme |
| Theme of the challenge
Possible values: |
type |
| Type of the challenge
Possible values: |
reportAvailabilityDate |
| Estimated date at which the results report of the challenge will be available
Date format: |
groups |
| List of groups participating in the challenge (empty if type is |
rules |
| Rules of the challenge (in html format) |
admin | Creator of the challenge | |
status |
| Current status of the challenge
Possible values: |
registeredUsers |
| Total number of users registered to the challenge |
rankedUsers |
| Total number of users ranked in the challenge |
AdminInfo
The table below summarizes the elements included in the AdminInfo
object.
Field | Type | Description |
---|---|---|
username |
| Unique identifier of the user |
firstname |
| First name of the user |
lastname |
| Last name of the user |
ChallengeConditions
The table below summarizes the elements included in the ChallengeConditions
object.
Field | Type | Description |
---|---|---|
km |
| Minimum distance required to be ranked (in km) |
nbTrip |
| Minimum number of trips required to be ranked |
Last updated