Call this method to set a URL for a race and it's events. events. If you set up an alternate registration URL, registration for that event will be disabled on RunSignUp. Please only use alternate registration URLs for events that do not have registration on RunSignUp. To remove a race URL, pass a blank value for that field.
For JSON requests, the request should look like the example below.
{ "race": { "external_race_url" : "http://www.google.com/", "external_results_url" : "http://www.google2.com/", "facebook_page_id" : "http://www.google3.com/", "facebook_event_id" : "12345456789", "events": [ { "event_id": "23320", "alternate_registration_url": "http://www.runsignup.com", "facebook_event_id" : "0987654321" }, { "event_id": "23331", "alternate_registration_url": "http://www.runsignup2.com/" } ] } }
For XML requests, the request should look like the example below.
<race> <external_race_url>http://www.google2.com/</external_race_url> <external_results_url>http://www.google3.com/</external_results_url> <facebook_page_id>ScottCoffee</facebook_page_id> <facebook_event_id>1234567890</facebook_event_id> <events> <event> <event_id>23320</event_id> <alternate_registration_url>http://www.runsignup.com/</alternate_registration_url> <facebook_event_id>0987654321</facebook_event_id> </event> <event> <event_id>23331</event_id> <alternate_registration_url>http://www.runsignup2.com/</alternate_registration_url> </event> </events> </race>
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 |
Parameter | HTTP Method | Default | Description | Datatype |
---|---|---|---|---|
request_format |
POST | xml | Format of request. The default if not sent is `xml`, but `json` is preferred. | format |
race_id Required |
POST | ID of race. | uint |
|
request Required |
POST | Request in proper format. | string |