Stores wind data for one or more races.
Note that while nautically wind is usually specified in the direction it's coming from, forWebservice Type: | REST PUT |
Output format: | Json |
Mandatory parameters: | windData, windSourceType (either "WEB" or "EXPEDITION"), windSourceId (any string identifying the sensor) |
Optional parameters: | regattaNamesAndRaceNames: can be used to specify into which races to ingest the wind data; if omitted, the wind data will be sent to all races for which the user making the request has the TRACKED_RACE:UPDATE permissions. Example: "regattaNamesAndRaceNames":[{"regattaName":"ESS 2016 Cardiff","raceName":"Race 1"}] |
Examples: |
Request: {"windData":[{"position":{"latitude_deg":1,"longitude_deg":1},"timepoint":1234,"direction":120,"speedinknots":60}],"regattaNamesAndRaceNames":[{"regattaName":"ESS 2016 Cardiff","raceName":"Race 1"}],"windSourceType":"WEB","windSourceId":"tracker02"} Answer: [{"regattaNameAndRaceName":{"regattaName":"ESS 2016 Cardiff","raceName":"Race 1"},"answer":[true]}]
Request to insert a wind fix for the venue of Enoshima for date 9/15/18 7:38:00 AM UTC+2 with 17.4 knots of true wind from geographical
direction 300 degrees (blowing to geographical direction 120 degrees): |