Switch events for participants.
This requires that you pass in the registration ID, which can be obtained from the Get Race Participants method.
It is important to note that the registration ID changes as a result of switching events.
Use the optional transfer_bibs
field to carry bib/chip assignments over to the new event.
Use the optional preserve_teams
field to keep current team assignments.
{ "registrations": [ { "registration_id": 123, "new_event_id": 1 }, { "registration_id": 456, "new_event_id": 2 } ] }
{ "participants": [ { "registration_id": 321 }, { "registration_id": 654 } ] }
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 |
---|---|---|---|---|
race_id Required |
POST | ID of race. | uint |
|
request_format |
POST | xml | Format of request. The default if not sent is `xml`, but `json` is preferred. | format |
transfer_bibs |
POST | F | Transfer bib/chip numbers on participant event switch. | bool |
preserve_teams |
POST | F | Keep current team assignments on participant event switch. | bool |
request Required |
POST | Request in proper format. | string |