1. RunSignup
  2. API
  3. Methods
  4. Get Corporate Teams

Get Corporate Teams

Get summary of corporate teams.

An XML response will look similar to this example:

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE corporate_teams SYSTEM "https://runsignup.com/rest/rsu.dtd">
<corporate_teams>
	<corporate_team>
		<corporate_team_id>1</corporate_team_id>
		<corporate_team_name>Team 1</corporate_team_name>
		<corporate_team_num_members>1</corporate_team_num_members>
	</corporate_team>
	<corporate_team>
		<corporate_team_id>2</corporate_team_id>
		<corporate_team_name>Team 2</corporate_team_name>
		<corporate_team_num_members>2</corporate_team_num_members>
	</corporate_team>
</corporate_teams>

A JSON response will look similar to this example:

{
	"corporate_teams": [
		{
			"corporate_team_id": 1,
			"corporate_team_name": "Team 1",
			"corporate_team_num_members": 1
		},
		{
			"corporate_team_id": 2,
			"corporate_team_name": "Team 2",
			"corporate_team_num_members": 2
		}
	]
}

URL

https://runsignup.com/rest/race/:race_id/corporate-teams

HTTP Method

GET

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
race_event_days_id
Required
GET Race event days ID. This ID groups together events, typically by year. This ID is returned with the event information in the APIs to get races or a single race. uint
include_team_sizes GET F Include team sizes bool
page GET 1 Page number to get. uint
results_per_page GET 50 Number of results per page. uint

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.