Commit 9b1aa7a4 authored by Andres Käver's avatar Andres Käver

backend description update for locationTypes

parent 4f118f1c
......@@ -57,17 +57,27 @@ Response will be:
Save the session id!
Get the list of location types (these are predefined in db)
GET https://sportmap.akaver.com/api/GpsLocationTypes
Get the list of location types (these are predefined in db, id's and types are fixed)
GET https://sportmap.akaver.com/api/GpsLocationTypes
Response will be:
~~~~json
[
{
"name": "location",
"description": "regular location update",
"id": "b310e8ce-1234-47b0-91c3-08d7e17d70ab"
"name": "LOC",
"description": "Regular periodic location update",
"id": "00000000-0000-0000-0000-000000000001"
},
{
"name": "WP",
"description": "Waypoint - temporary location, used as navigation aid",
"id": "00000000-0000-0000-0000-000000000002"
},
{
"name": "CP",
"description": "Checkpoint - found on terrain the location marked on the paper map",
"id": "00000000-0000-0000-0000-000000000003"
}
]
~~~~
......@@ -85,6 +95,6 @@ Payload in body as json:
"altitude": 75.7,
"verticalAccuracy": 13.9,
"gpsSessionId": "b310e8ce-eebd-47b0-91c3-08d7e17d70ab",
"gpsLocationTypeId": "b310e8ce-1234-47b0-91c3-08d7e17d70ab"
"gpsLocationTypeId": "00000000-0000-0000-0000-000000000001"
}
~~~
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment