CMS Web Services - v4.0.6550.31684 [cms-a]

<back to all web services

TracksGet

Returns a list of all track entries for the specified callsign

The following routes are available for this service:
POST,GET/tracks/get
TracksGet Parameters:
NameParameterData TypeRequiredDescription
CallsignbodystringYesCallsign
WebServiceRequest Parameters:
NameParameterData TypeRequiredDescription
KeyformstringYesWeb service access key -- allows use of Winlink web services
TracksGetResponse Parameters:
NameParameterData TypeRequiredDescription
ListformList<TrackRecord>No
WebServiceResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
TrackRecord Parameters:
NameParameterData TypeRequiredDescription
TimestampformDateTimeNo
CallsignformstringNo
LatitudeformdoubleNo
LongitudeformdoubleNo
SpeedformintNo
BearingformintNo
CommentformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /tracks/get HTTP/1.1 
Host: perth.winlink.org 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Callsign":"String","Key":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"List":[{"Timestamp":"\/Date(-62135596800000-0000)\/","Callsign":"String","Latitude":0,"Longitude":0,"Speed":0,"Bearing":0,"Comment":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}