1. RunSignup
  2. API
  3. Methods
  4. Add Custom Fields to a Result Set

Add Custom Fields to a Result Set

Add or edit a custom field for a result set. To edit a field, supply the field id in custom_field_id. The short name for a custom field is the header that will appear for that column in the results. The data type for a field may be "string", "float", "int", "uint", or "table". For "table", the data should include tabs to separate columns. You cannot modify the data type for an existing field.

For 'xml', the request should look like the example below.

<?xml version="1.0" encoding="utf-8" ?>
<request>
	<custom_field>
		<custom_field_id></custom_field_id>
		<custom_field_name>Custom Name</custom_field_name>
		<custom_field_short_name>Custom Name</custom_field_short_name>
		<custom_field_data_type>string</custom_field_data_type>
	</custom_field>
</request>

For 'json', the request should look like the example below.

{
	"custom_fields": [
		{
			"custom_field_id": null,
			"custom_field_name": "Custom Name",
			"custom_field_short_name": "Custom Name",
			"custom_field_data_type": "string"
		}
	]
}

URL

https://runsignup.com/rest/race/:race_id/results/custom-fields

HTTP Method

POST

Standard Parameters

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

Parameters

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 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

If you continue to use this site, you consent to use all cookies. We use cookies to offer you a better browsing experience. Read how we use cookies and how you can control them by visiting our Privacy Policy.

If you continue to use this site, you consent to use all cookies.