SAP Sailing Analytics Webservices API Version 1.0

URL: /api/v1/leaderboards/{name}/starttracking?race_column={name}&fleet={name}

Description:

Starts tracking the race identified by the race_column and fleet parameters. If no smartphone tracking denotation exists yet for that race, one is added. Wind tracking can be configured using optional request parameters.


Webservice Type: REST
Output format: Json
Mandatory parameters: race_column, fleet
Optional parameters:
trackWind a boolean value, defaulting to true; tells whether to start receiving live wind data for the tracked race
correctWindDirectionByMagneticDeclination a boolean value, defaulting to true; if trackWind is true, this parameter controls whether the wind directions received are to be corrected by the magnetic declination
trackedRaceName can be used to specify a non-default name for the tracked race / RaceDefinition; if not provided, a default name consisting of race column and fleet name will be constructed instead.
Request method: POST
Example: http://127.0.0.1:8888/sailingserver/api/v1/leaderboards/TracTrac%20Virtual%20Course%20Marks%20Test/settrackingtimes?race_column=R1&fleet=Default&startoftracking=2007-01-03T13:05:00Z
delivers
		{"addeddenotation":false, "regatta":"TracTrac Virtual Course Marks Test"}
		
where the addeddenotation field tells whether an annotation for smartphone tracking had to be added in order to be able to track the race.
Back to Web Service Overview