Postpone a session
postpone_sessionMove a training session's start date to a new ISO date after user confirmation, while rejecting completed, cancelled, or invalid sessions and returning the reason.
Instructions
Move the start date of one training session, after the user confirms it. The server asks the user itself: do not ask for a confirmation in the conversation.
A session that is completed or cancelled, or that started before as_of, cannot be
postponed, nor moved to a date before as_of: the result then says why.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | Today's date, as an ISO date: the reference date of the call. | |
| session_id | Yes | Id of the session to postpone. | |
| new_start_date | Yes | New start date, as an ISO date. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| postponed | Yes | ||
| session_id | Yes | ||
| start_date | Yes | Start date of the session after the call. |