| Login | Register

Documentation : Tracklog upload API

1. Request

HTTP method

POST

URL

http://xcglobe.com/olc/index.php/user/post-flight

Parameters:

username [string])
password [string]
gtype [number] - glider type, see below
glider [string] - glider model (e.g. Swing Astral 7)
note [string] - pilot's comment, optional.
igc [string] - content of IGC file


2. Response

String OK: URL or ERROR code: description


List of all possible return values::

OK: flight URL
ERROR 1: Wrong login
ERROR 2: Empty glider
ERROR 3: Empty glider type
ERROR 4: Empty IGC
ERROR 5: IGC exists
ERROR 6: Invalid IGC
ERROR 7: Internal error



Tracklog upload API v2.0, 2017-02-01