SAP Sailing Analytics Webservices API Version 1.0

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

Description:

Removes the tracked race(s) identified by the race_column and fleet parameters.


Webservice Type: REST
Output format: Json
Mandatory parameters: None
Optional parameters: race_column: if provided, restricts stopping to races in this race column; otherwise, races from all race columns will stop tracking if the fleet parameter matches; see below

fleet: if provided, stopping is restricted to races in this fleet only; otherwise, races from all fleets are stopped

Request method: POST
Example 1: curl -X POST -H "Authorization: Bearer w9YSIfr/Zf6a127SZDddkhdAtQuuv0Jm1PSXlo1Yvd0=" "http://127.0.0.1:8888/sailingserver/api/v1/leaderboards/Smartphone%20Tracking%20Test%2022.06/removeTrackedRace?race_column=K1&fleet=Blue"
delivers an array with the regatta and race names of the races whose tracking got stopped:
		[{"regatta":"Smartphone Tracking Test 22.06","race":"Smartphone Tracking Test 22.06 K1 Blue"}]
		
Example 2: curl -X POST -H "Authorization: Bearer w9YSIfr/Zf6a127SZDddkhdAtQuuv0Jm1PSXlo1Yvd0=" "http://127.0.0.1:8888/sailingserver/api/v1/leaderboards/Smartphone%20Tracking%20Test%2022.06/removeTrackedRace?race_column=K1"
delivers an array with the regatta and race names of the races whose tracking got stopped:
		[{"regatta":"Smartphone Tracking Test 22.06","race":"Smartphone Tracking Test 22.06 K1 Blue"}, {"regatta":"Smartphone Tracking Test 22.06","race":"Smartphone Tracking Test 22.06 K1 Yellow"}]
		
Back to Web Service Overview