1. RunSignup
  2. API
  3. Methods
  4. Add/Edit Non Standard Scoring Types (BETA)

Add/Edit Non Standard Scoring Types (BETA)

This API adds non-standard scoring types to a specified race_series_year_id. Non-standard scoring types with a scoring_type_id will be treated as edits; otherwise, a new scoring type will be added. If scoring_type_name is omitted from the non_standard_scoring_types, the field will remain unchanged.

Note: This endpoint only allows OAuth 2.0 authentication and requires the user to be a director of the race series. It is currently in beta and subject to change.

Request Format

{
	"non_standard_scoring_types": [
		{
			"scoring_type_id": 620,
			"scoring_type_name": "Updated Scoring"
		},
		{
			"scoring_type_id": null,
			"scoring_type_name": "New Scoring"
		}
	]
}

Response Format

{
	"added_non_standard_scoring_types": [
		{
			"scoring_type_id": 621,
			"scoring_type_name": "New Scoring"
		}
	],
	"updated_non_standard_scoring_types": [
		{
			"scoring_type_id": 620,
			"scoring_type_name": "Updated Scoring"
		}
	]
}

URL

https://www.givesignup.org/rest/v2/race-series/non-standard-scoring-types.json

HTTP Method

POST

Parameters

Parameter HTTP Method Default Description Datatype
Authorization
Required
HTTP Header OAuth 2.0 Authorization header (e.g. `Bearer ...`). string
race_series_id
Required
GET Race series ID. uint
race_series_year_id
Required
GET Race series year ID. uint
request
Required
POST JSON containing a list of non-standard scoring types. 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.