Setup up the groupings of race divisions for an event. This groups divisions into columns for the results view. All divisions that are not grouped will be grouped together into a default column. The request should be formatted exactly as the response from Get Race Division Groupings. Any old groupings will be removed and the groupings from this post will completely replace them.
For JSON requests, the request should look like the example below.
{ "race_division_groupings": [ { "division_grouping_id": null, "division_grouping_heading": "Group Name", "race_division_ids": [123, 456] }, { "division_grouping_id": null, "division_grouping_heading": "Group Name 2", "race_division_ids": [789] } ] }
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 |
|
event_id Required |
POST | ID of event. | uint |
|
request_format |
POST | xml | Format of request. The default if not sent is `xml`, but `json` is preferred. | format |
request Required |
POST | Request in proper format. | string |