Skip to content

Retrieve Planned Note

François Dupont edited this page Jun 5, 2026 · 2 revisions

Endpoint:

  • /get/planned/note/
  • HTTP Method: GET

Retrieve planned notes (the planned Calendar counterpart of /get/note/). Returns the notes planned for the athlete, including the ones planned at group level.

Parameters :

note_type: string, optional, filter specific note type, see below
id: int, optional. if you already have a planned note id you can put here to get only that note
limit: integer, optional, default = 30 : maximum number of notes returned
from: string, optional, date format: "YYYY-MM-DD" : get all notes after this date
to: string, optional, date format: "YYYY-MM-DD", can be combined with from : get all notes before this date
athlete_id: integer, optional, default = current user. can be used to retrieve data from one of your managed athletes, you can retrieve the ids with the [Get Athletes](https://github.com/NolioApp/NolioAPI-Documentation/wiki/User-Get-Athletes) route

Returned notes are ordered from the last one. Private notes are excluded.

Example:

Production:
https://www.nolio.io/api/get/planned/note/?from=2021-04-03&to=2021-04-04&limit=2&note_type=blessure

Possible note type

'blessure'
'dispo'
'inconfort'
'goal'
'indispo'
'malade'
'menstruel'
'repos'

Returned fields

Every note carries the base fields nolio_id, name, date_start, date_end, hour_start and description. The following fields are conditional — they are only present depending on the note type:

Field Type Present when
type String The note has a type. Absent when the note is typeless (see caveat below).
injury_type String type is blessure (injury)
discomfort_type String type is inconfort (discomfort)
sick_type String type is malade (sickness)
duration Integer type is dispo or indispo (availability)
sports String type is dispo or indispo — comma-separated list of sport names (e.g. Running,Road cycling), empty string if no sport is set

Caveat — typeless notes: the type field is omitted entirely when the note has no type. This is notably the case for notes created through the API: /create/planned/note/ cannot set a note type, so API-created notes are always typeless and never return type (nor any of the type-specific fields above).

Returns: an athlete's planned notes

[{
"nolio_id": 819948,
"name": "Covid19",
"type": "Malade",
"date_start": "2024-10-28",
"date_end": "",
"hour_start": "",
"description": "",
"sick_type": "Covid19"
},
{
"nolio_id": 819949,
"name": "Available this week",
"type": "Dispo",
"date_start": "2024-10-29",
"date_end": "2024-11-03",
"hour_start": "",
"description": "",
"duration": 90,
"sports": "Running,Road cycling"
},
{
"nolio_id": 819950,
"name": "Created via API",
"date_start": "2024-10-30",
"date_end": "",
"hour_start": "",
"description": "No type, created through the API"
}]

Clone this wiki locally