Get Score Average

GET https://api.orionscoringsystem.com/athlete/score/average?user-id={{User ID}}&start-date={{Start Date}}&end-date={{End Date}}&event-style-def={{Event Style Set Name}}

Request Params

KeyDatatypeRequiredDescription
user-idstring
start-datestringThe start date of data to return. Must be less than or equal to today. Defaults to today.
end-datestringThe end date of data to return. Must be less than or equal to the start-date. Defaults to today.
event-style-defstringThe Event Style definition to return score history. Either event-style-def or stage-style-def is required, but not both.
stage-style-defstringThe Stage Style definition to return score history. Multiple values are allowed. Either event-style-def or stage-style-def is required, but not both.
formatstringMust be DAY, WEEK, MONTH, QUARTER, YAER. Defaults to DAY
limitnumber

Request Body

[{"name"=>"x-api-key", "value"=>"{{x-api-key}}", "datatype"=>"string"}]