Customize the columns for an event result set. Each column has a key as listed below. The order of the columns dictates the order they will apear. Any column not listed in your response will be reset to the default.
The request parameter depends on request_format.
Below is an example JSON request.
{"columns": [{ "column_key": "race_placement", "column_text": "Place", "hidden": "F" },{ "column_key": "age", "column_text": "Age", "hidden": "T" },{ "column_key": "division_group_1_place", "column_text": "Age Group Place", "hidden": "F" },{ "column_key": "division_group_1", "column_text": "Age Group", "hidden": "F" },{ "column_key": "group_team_name", "column_text": "Team", "hidden": "F" }]}
Below is an example XML request.
<?xml version="1.0" encoding="utf-8" ?> <request> <column> <column_key>race_placement</column_key> <column_text>Place</column_text> <hidden>F</hidden> </column> <column> <column_key>age</column_key> <column_text>Age</column_text> <hidden>T</hidden> </column> <column> <column_key>division_group_1_place</column_key> <column_text>Age Group Place</column_text> <hidden>F</hidden> </column> <column> <column_key>division_group_1</column_key> <column_text>Age Group</column_text> <hidden>F</hidden> </column> <column> <column_key>group_team_name</column_key> <column_text>Team</column_text> <hidden>F</hidden> </column> </request>
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 |
|
individual_result_set_id Required |
POST | ID of result set. | 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 |