Routes Object - TrainingPeaks/PartnersAPI GitHub Wiki
Route Object Properties
Example:
[
{
"Id": 2,
"FileHash": "eb3fa47b-da04-e380-50bf-56648698b334",
"IsDefault": true,
"WarningMessage": null,
"OwnerPersonId": 1234567,
"Name": "Mountain Trail",
"FileName": "mtntrail.gpx",
"Description": "An awesome mountain trail.",
"ApplyCorrections": true
},
{
"Id": 3,
"FileHash": "4d610e1e-007d-c277-702e-8c054428ada3",
"IsDefault": true,
"WarningMessage": null,
"OwnerPersonId": 1234567,
"Name": "Gravel Road",
"FileName": "gravelroad.gpx",
"Description": "A gravel road.",
"ApplyCorrections": true
}
]
For Basic and Premium Athletes
| Property | Type | Units | Notes |
|---|---|---|---|
| Id | int | Unique route identifier | |
| FileHash | guid | ||
| IsDefault | bool | ||
| WarningMessage | string | ||
| OwnerPersonId | int | ||
| Name | string | Route name used for display | |
| FileName | string | Original uploaded file name | |
| Description | string | ||
| ApplyCorrections | bool |