Gets the details of a competitor
Webservice Type: | REST |
Output format: | Json |
Mandatory parameters: | None |
Optional parameters: | leaderboardName: The name of a regatta leaderboard to be used for the secret check. The secret check will only succeed if the requested competitor is part of the regatta. No secret check will happen, if the leaderboardName is not given. secret: In case the given secret is equal to the one stored in the regatta defined by the leaderboardName, the current user does not need to be authenticated or have the required read permission. |
Request method: | GET |
Example: | http://www.sapsailing.com/sailingserver/api/v1/competitors/bba11294-9930-11e0-85be-406186cbf87c Example result: { "idtype": "java.util.UUID", "id": "d455db1b-fd52-4144-a8e2-3eed503467b0", "name": "Dagobert", "shortName": "D", "sailID": null, "displayColor": "#ABCDEF", "searchTag": "atag", "nationality": "GER", "nationalityISO2": "DE", "nationalityISO3": "DEU", "flagImageUri": "http:\/\/flagimage.url", "team": { "name": "Donald Duck", "coach": null, "sailors": [ { "name": "Donald Duck", "description": null, "nationality": { "IOC": "GER" } } ], "imageUri": "http:\/\/teamimage.url" }, "boat": { "idtype": "java.util.UUID", "id": "35712e80-578f-418d-bcbd-9a3d0e391982", "name": "Donald Duck", "sailId": null, "color": null, "boatClass": { "name": "GC 32", "typicallyStartsUpwind": false, "hullLengthInMeters": 10.0, "hullBeamInMeters": 6.0, "displayName": "GC 32", "iconUrl": "\/gwt\/src\/main\/resources\/com\/sap\/sailing\/gwt\/ui\/client\/images\/boatclass\/GC_32.png", "aliasNames": [ "GC32", "GC-32" ] } }, "timeOnTimeFactor": 2.4, "timeOnDistanceAllowanceInSecondsPerNauticalMile": 10000.0, |