SAP Sailing Analytics Webservices API Version 1.0

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

Description:

Sets the start time and the racing procedure for a race by producing and adding the necessary RaceLog events.


Webservice Type: REST
Output format: Json; the startTimeAsMillis and racingProcedureType fields may deliver null in case those attributed are not set for the race selected
Mandatory parameters:
race_column name of the race column, part of identifying the race within the leaderboard
fleet the name of the fleet, part of identifying the race within the leaderbaord
authorName the name of the author for the race log events that will be produced
authorPriority a numerical priority; lesser integers mean higher logical priority, 0 being highest
passId the pass in the race log into which to write the events
startTime the start time for the race as a Unix millisecond time stamp
startProcedureType any of UNKNOWN, RRS26, SWC, GateStart, ESS, BASIC, or LEAGUE
Optional parameters:
courseAreaIdAsString the UUID of the course area on which the race is being started
Request method: PUT
Example: curl -X PUT "http://server.url.com/sailingserver/api/v1/leaderboards/Croatia%20Coast%20Cup%202019%20-%20ORC%20with%20Spinnaker/starttime?race_column=R2&fleet=Default&authorName=ItsMe&authorPriority=3&passId=0&startTime=1571923070028&startProcedureType=RRS26"
delivers
		{"startTimeAsMillis":1570977780000}
		
Back to Web Service Overview