1. RunSignup
  2. API
  3. Methods
  4. Get Race Volunteer Questions

Get Race Volunteer Questions

Get the volunteer questions for a race.

Question Data

Each question has the following fields:

  • question_id - Question ID
  • question - Question text
  • question_type - Question type as human readable string
  • question_type_code - Question type code:
    • F: Freeform
    • B: Boolean (T/F)
    • S: Select box list of predefined responses.
    • R: Radio buttons of predefined responses.
    • C: Checkboxes of predefined responses (Allows multiple selection).
    • T: Time input.
    • A: Text box.
  • 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/F
  • required - T/F
  • task_specific - T/F
  • internal_question - T/F

Response Format


		{
			"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"
						}
					]
				},
			]
		}
	

URL

https://www.givesignup.org/rest/v2/volunteers/get-race-volunteer-questions.json

HTTP Method

GET

Parameters

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

If you continue to use this site, you consent to use all cookies. We use cookies to offer you a better browsing experience. Read how we use cookies and how you can control them by visiting our Privacy Policy.

If you continue to use this site, you consent to use all cookies.