Allows to create a Course definition that is then inserted into the race log of a specified race
| Webservice Type: | REST |
| Output format: | Json |
| Intput format: | Json |
| Request method: | POST |
| Mandatory parameters: | leaderboardName, fleetName, raceColumnName: the definition of the tracked race for which to set the course controlPoints: An ordered sequence of control points that form the layout of the course. For each control point, the following properties can be specified:
|
| Optional parameters: | originatingCourseTemplateId: UUID of an existing course template that is defined to be the source of the control point sequence. |
| Examples: |
Request:
{
"fleetName":"Default",
"leaderboardName":"test",
"originatingCourseTemplateId":"dc77e3d1-d405-435e-8699-ce7245a6fd4a",
"raceColumnName":"R1",
"controlPoints": [
{
"passingInstruction":"Gate",
"controlPointName", "Start\/Finish",
"marks":["305ffb4b-c23d-42a1-be45-f76a2bad8fab", "305ffb4b-c23d-42a1-be45-123123123123"]
},
{
"passingInstruction":"Port",
"marks":["305ffb4b-c23d-42a1-be45-f76a2bad8fab"]
},
{
"passingInstruction":"Starboard",
"marks":["305ffb4b-c23d-42a1-be45-f76a2bad8fab"]
},
{
"passingInstruction":"Line",
"marks":["305ffb4b-c23d-42a1-be45-f76a2bad8fab", "305ffb4b-c23d-42a1-be45-123123123123"]
},
{
"passingInstruction":"Offset",
"marks":["305ffb4b-c23d-42a1-be45-f76a2bad8fab", "305ffb4b-c23d-42a1-be45-123123123123"]
},
{
"passingInstruction":"FixedBearing",
"marks":["305ffb4b-c23d-42a1-be45-f76a2bad8fab"]
},
{
"passingInstruction":"Single_Unknown",
"marks":["305ffb4b-c23d-42a1-be45-f76a2bad8fab"]
},
{
"passingInstruction":"None",
"marks":["305ffb4b-c23d-42a1-be45-f76a2bad8fab"]
},
{
"passingInstruction":"None",
"controlPointName", "Start\/Finish",
"marks":["305ffb4b-c23d-42a1-be45-f76a2bad8fab", "305ffb4b-c23d-42a1-be45-123123123123"]
}
]
}
Response: Status 200 if changed
|