SAP Sailing Analytics Webservices API Version 1.0

URL: /api/v1/trackedevents/{eventId}/{leaderboardName}

Description:

Create or update a tracked event for the current user and set (overwrite) all tracked elements.


Webservice Type: REST
Output format: Json
Mandatory parameters: Path Parameter eventId: Identifier of the associated event
Path Parameter leaderboardName: Name of the associated leaderboard
Optional parameters: None
Request method: PUT
Example: Request: http://www.sapsailing.com/sailingserver/api/v1/trackedevents/61fe232b-19b8-455f-ac91-23a53a5c557a/TestRegattaLeaderboard

Body (device-to-competitor):
{"url":"http://www.sapsailing.com","regattaSecret":"71fe232b-19b8-455f-ac91-23a53a5c557a","trackedElements":[{"deviceId":"301eda00-68ad-402d-9734-4a7d5b8df406","competitorId":"6204e6d2-2d6c-4891-b077-d83117c69513"}],"isArchived":false}

Body(device-to-boat):
{"url":"http://www.sapsailing.com","regattaSecret":"71fe232b-19b8-455f-ac91-23a53a5c557a","trackedElements":[{"deviceId":"301eda00-68ad-402d-9734-4a7d5b8df406","boatId":"6204e6d2-2d6c-4891-b077-d83117c69513"}],"isArchived":false}

Body (device-to-mark):
{"url":"http://www.sapsailing.com","regattaSecret":"71fe232b-19b8-455f-ac91-23a53a5c557a","trackedElements":[{"deviceId":"301eda00-68ad-402d-9734-4a7d5b8df406","markId":"6204e6d2-2d6c-4891-b077-d83117c69513"}],"isArchived":false}
Status 202
Back to Web Service Overview