Actual Behavior:
I’m encountering an issue when querying the following endpoint:
GET /api/v1/athlete/{id}/training-plan
.
Despite using a valid athleteId
(confirmed to work with other endpoints such as wellness and activities), the response consistently returns null
values:
{
"athlete_id": null,
"training_plan_id": null,
"training_plan_start_date": null,
"timezone": null,
"training_plan_last_applied": null,
"training_plan": null,
"training_plan_alias": null
}
Expected Behavior:
I expect the endpoint to return the associated training plan data for the specified athlete, assuming a training plan has been created properly: