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 or a timer of a race that is included in the 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://api.runsignup.com/rest/v2/race-series/non-standard-scoring-types.json

HTTP Method

POST

API Caller Identification

Parameter HTTP Method Default Description Datatype
rsu_api_reg GET API caller token. If used, you must send the API caller password in an HTTP header named X-RSU-API-REG-SECRET. string
X-RSU-API-REG-SECRET HTTP Header API caller password. string

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.