Get the volunteer questions for a race.
Each question has the following fields:
question_id
- Question IDquestion
- Question textquestion_type
- Question type as human readable stringquestion_type_code
- Question type code:
validation_type:
none
: No validation.phone
: Validation for a phone number.char_limit
: Response cannot exceed the set character limit.email
: Validation for an email address.float
: Validates a floating point decimal number.uint
: Validates an unsigned integer.int
: Validates a signed integer.date
: Validates a date.allowed_values
: Ensures the response is found in a set of allowed responses.url
: Validation for a URL.deleted
- T/Frequired
- T/Ftask_specific
- T/Finternal_question
- T/F{ "questions": [ { "question_id": 15, "question": "Do you like cats?", "question_type": "B", "validation_type": "none", "deleted": "F", "required": "F", "task_specific": "F", "internal_question": "F" }, { "question_id": 16, "question": "What is your shirt size?", "question_type": "R", "validation_type": "none", "deleted": "F", "required": "T" "task_specific": "F", "internal_question": "F" }, { "question_id": 17, "question": "Which of these colors do you enjoy?", "question_type": "C", "validation_type": "none", "deleted": "F", "required": "T" "task_specific": "F", "internal_question": "F", "responses": [ { "response_id": 24, "question_id": 19, "response": "Red", "deleted": "F" }, { "response_id": 25, "question_id": 19, "response": "Green", "deleted": "F" }, { "response_id": 26, "question_id": 19, "response": "Blue", "deleted": "F" }, { "response_id": 27, "question_id": 19, "response": "Yellow", "deleted": "F" } ] }, ] }
Parameter | HTTP Method | Default | Description | Datatype |
---|---|---|---|---|
race_id Required |
GET | Race ID. | uint |
|
include_deleted_questions |
GET | F | Should deleted questions be included? | bool |
include_deleted_canned_responses |
GET | F | Should deleted canned responses be included? | bool |
api_key |
GET | API key. | string |
|
api_secret |
GET | API secret. | string |