Use this API to create or edit corrals for a race event day.
Corrals with a race_corral_id
will be treated as an edit.
Otherwise, a new corral will be created.
The request format is below.
{ "race_corrals": [ { "race_corral_id": 456, "corral_name": "Corral edit", "corral_start_desc": "8:00am", "corral_desc": "8:00am start corral", "applicable_event_ids": [123] }, { "race_corral_id": null, "corral_name": "Corral add", "corral_start_desc": "8:05am", "corral_desc": "8:05am start corral", "applicable_event_ids": [123] } ] }
{ "race_corral_ids": [456, 457] }
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 |
Parameter | HTTP Method | Default | Description | Datatype |
---|---|---|---|---|
race_id Required |
GET | Race ID. | uint |
|
race_event_days_id Required |
GET | Race event days ID. | uint |
|
request Required |
POST | JSON containing request data. | string |