> For the complete documentation index, see [llms.txt](https://knowledgebase.flaik.com/flaik-knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.flaik.com/flaik-knowledge-base/for-it-specialists/3.-flaik-connect-api/class-management.md).

# Class Management

Lesson and class data for the resort's ski and ride school — class details (when, where, who teaches, who attends) and the survey responses guests provide after lessons. Use this group to ingest customer-experience and class-operations data into reporting, NPS, or analytics systems.

Both endpoints take a date range. The range is capped at **5 days** — for wider windows, walk the range in 5-day chunks (each endpoint page shows the loop pattern).

### Pages in this group

* [**Class Details by Date Range**](https://knowledgebase.flaik.com/flaik-knowledge-base/for-it-specialists/3.-flaik-connect-api/class-management/class-details-by-date-range) — class records with discipline, ability level, locations, instructors, and guests (`GET /api/classmanagement/classes/{startDate}/{endDate}`).
* [**Class Survey Responses**](https://knowledgebase.flaik.com/flaik-knowledge-base/for-it-specialists/3.-flaik-connect-api/class-management/class-surveys-by-date-range) — guest survey answers tied to classes and class-guest assignments (`GET /api/classmanagement/surveys/{startDate}/{endDate}`). Pair with [Survey Definitions](https://knowledgebase.flaik.com/flaik-knowledge-base/for-it-specialists/3.-flaik-connect-api/global-settings/surveys-by-season) under Global Settings to label the responses.

### Typical use

* **Daily class roster export** — pull class details for yesterday/today and feed into your POS or customer-experience system.
* **Weekly NPS / experience report** — pull survey responses for the past five days, join to survey definitions, aggregate by instructor or class type.
* **Backfill** — walk a longer historical range in 5-day chunks; each chunk is independent and idempotent.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowledgebase.flaik.com/flaik-knowledge-base/for-it-specialists/3.-flaik-connect-api/class-management.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
