Skip to content
James Errington edited this page Jun 15, 2018 · 10 revisions

Events

Mandatory Response Body

KeyValue TypeValue Description
clubstringClub that ran the Event
commentstringEvent comment
datestringDate of event as YYYY-MM-DD
formatnumber1 => 'Normal Event', 2 => 'Event with no Results', 3 => 'Score Event'
idnumberEvent id
lockedbooleantrue if Event is locked to new routes
mapidstringid of map used for Event
namestringEvent name
typestring'I' => 'International', 'N' => 'National', 'R' => 'Regional', 'L' => 'Local', 'T' => 'Training'

Optional Response Body

KeyValue TypeValue Description
Anumber
Bnumber
Cnumber
Dnumber
Enumber
Fnumber
suffixstring'.gif' if map file is a .gif

Course

Mandatory Response Body

KeyValue TypeValue Description
codesstring[]Array of control codes
courseidnumberCourse id
namestringCourse name
xposnumber[]Array of control x positions
yposnumber[]Array of control y positions

Result

Mandatory Response Body

KeyValue TypeValue Description
courseidnumberCourse id
coursenamestringCourse name
namestringName of athlete
positionstringPosition on course
resultidnumberResult id
splitsnumber[]Time at each control
starttimenumberTime athlete started
statusstringStatus of result
timestringTime for result

Optional Response Body

KeyValue TypeValue Description
commentsstring
scorecodesnumber[]
scorexnumber[]
scoreynumber[]
variantnumber

Route

Mandatory Response Body

KeyValue TypeValue Description
idnumberRoute id
xstringString of comma-separated x-values for Route
ystringString of comma-separated y-values for Route

Maps

Mandatory Response Body

KeyValue TypeValue Description
georeferencedbooleantrue if the map is georeferenced with a Worldfile
mapidnumberMap id
namestringMap name

Optional Response Body

KeyValue TypeValue Description
Anumber
Bnumber
Cnumber
Dnumber
Enumber
Fnumber
Gnumber
localAnumber
localBnumber
localCnumber
localDnumber
localEnumber
localFnumber
mapfilenamestring

Clone this wiki locally