Skip to content

Note Create

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

Create a note in the achieved Calendar

Endpoint:

  • /create/note/
  • HTTP Method: POST

Example:

Production:
https://www.nolio.io/api/create/note/

Parameters :

  • id_partner: integer, required.
  • name: string, required.
  • date_start: string, required. date of the note. YYYY-MM-DD format
  • description: string, optional.
  • athlete_id: integer, optional. If provided, the note will be created for the specified athlete (you must be their coach). You can retrieve athlete ids with the Get Athletes route.

The note type (injury, sickness, availability, menstruation, …) is not settable through the API: notes created via the API are typeless. The type field returned by /get/note/ is read-only.

Example:

  {
    "id_partner": 1,
    "name": "Felt great today",
    "date_start": "2024-10-28",
    "description": "Easy recovery day"
  }

Response

A JSON containing the note data that was created

Specific status code

  • 201 Created — the note was created successfully (the response body is the created note data).

  • 400 Bad request

    • A note already exists for this id_partner
    • date_start is in the future

Clone this wiki locally