Schedule: suggest a move or cancellation
change_sessionSuggest moving, cancelling or changing the place of one session of a group the person leads — or putting a cancelled one back on — with the message the group gets (in the person's voice, ≤ 500 characters; it goes into the group chat as theirs). ALWAYS a card in their Stream: the tap makes the change, tells the players, the parents who asked to be told and the carpool — and posts the message, through every check the app has. Pick the session by key (read_schedule) or by sessionDate (+ sessionTitle). Only when they ask.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | The session's key from read_schedule. | |
| date | No | move: the new date, YYYY-MM-DD (leave out to keep the day). | |
| mode | Yes | move (a new date and/or time), cancel, place (a new place) or restore (a cancelled one is on again). | |
| group | No | A group the person leads — its name, e.g. "P13" or "8B" (add the förening's name if several share it, e.g. "Löparklubben P13"), or its groupId from list_personas. May be left out when they lead exactly one. | |
| place | No | place: the new place. | |
| start | No | move: the new start, HH:MM, e.g. 18:00 (leave out to keep the time). | |
| message | No | The message to the group, e.g. "Hej! Träningen på torsdag flyttas till 18:00 — samma plan. /Anna". Leave out to only notify. | |
| sessionDate | No | Or the session's current date, YYYY-MM-DD. | |
| sessionTitle | No | With sessionDate, when there are several that day: part of its title. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| why | Yes | ||
| note | Yes | ||
| group | Yes | ||
| change | Yes | ||
| itemId | Yes | ||
| status | Yes | ||
| session | Yes |