1. RunSignup
  2. API
  3. Methods
  4. Post User Submitted Activities

Post User Submitted Activities

Post a user submitted activities.

The request field should be a JSON object with an 'activities' property, which is an array of activities. Each activity will be an object with field values being store as the property with that field name. The date field should be in the format YYYY-MM-DD. The time field is the elapsed time for the activity in milliseconds. An example of the request is below. validated_pace is optional, and denotes if the pace has been validated already or not. Default is "T". If "F" is passed in, the pace will be checked and an error returned if the pace is outside of a reasonable range.

The response will contain a list of tally_split_nums that were added.

{
	"activities": 
	[
		{
			"tally_split_date": "2020-07-25",
			"result_split_tally_value": 1,
			"split_elevation_gain_in_mm": 1002000,
			"tally_split_comment": "Running at the park",
			"submitted_time_in_ms": 1234556,
			"virtual_race_activity_type_id": 6
		},
		{
			"tally_split_date": "2020-07-25",
			"result_split_tally_value": 2,
			"split_elevation_gain_in_mm": 202000,
			"tally_split_comment": "Night walk",
			"submitted_time_in_ms": 12345562,
			"virtual_race_activity_type_id": 7,
			"validated_pace": "F"
		}
	]
} 

Response

{
    "tally_split_nums": [
		7,8
    ]
}

URL

https://runsignup.com/rest/v2/vr-activities.json

HTTP Method

POST

Standard Parameters

Parameter HTTP Method Default Description Datatype
api_key GET API Key string
api_secret GET API Secret string
tmp_key GET Temporary API Key from login API call. This should NOT be used in combination with API Key. string
tmp_secret GET Temporary API Secret from login API call. This should NOT be used in combination with API Secret. string
rsu_api_key GET API v2 key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
sp_api_key GET Super partner API key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
X-RSU-API-SECRET HTTP Header API v2 or super partner secret. string
format GET xml Format of response. The default if not sent is `xml`, but `json` is preferred. format

Parameters

Parameter HTTP Method Default Description Datatype
race_id
Required
GET ID of race. uint
event_id
Required
GET ID of event. uint
registration_id GET Look up activities by registration ID. uint
bib_num GET Look up activities by bib number for the virtual event. uint
request
Required
POST Request in proper format. 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.