> 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/1.-resort-pos-integration/rtp/4.-rtp-specific-flaik-functionality/feature-track-lesson-usage.md).

# Feature - Track Lesson Usage

Lesson Decrement feature

### Overview

RTP has robust Access Control features, which can be leveraged by your resort to record guest usage of Lesson Products.

* Enabling this feature in flaik allows flaik to send 'scans' back to your RTP instance and have usage recorded in the customer's Access Profile. &#x20;
* This give your resort within RTP's Customer Manager to confirm that a guest has in fact taken a lesson - without needing to go into flaik and search for the guest in class management.

<figure><img src="https://3412627069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdh5JD0cdH4KWbjolN2Aa%2Fuploads%2FuBAz0nHcb8Cc3btPmJui%2Faccess_profile_decrement.png?alt=media&amp;token=62ce2eee-6e8d-4afd-898d-0b76b7866f64" alt=""><figcaption></figcaption></figure>

### Setting up Lesson Decrement feature

To utilize this feature you will need to setup a specific Access location for Ski and Ride products. You will also need to set up access rules and access components on each of the lesson products that you wish to have use the feature.

(If you need help with Access Locations, Access Rules and product setup please let us know - we have a team of experts in RTP in our Professional Services team)

Once done - pass the Access Location code to you flaik Account Manager and we will enable it.  That's really all that is required to get the additional information back into RTP for your frontline team and enable them to operate out of the one system.

<figure><img src="https://3412627069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdh5JD0cdH4KWbjolN2Aa%2Fuploads%2FKR1hBwroYz1owKWD4I8O%2FAccess_Location.png?alt=media&amp;token=d0e4cfc0-09d1-4202-b510-8d8f08725fc3" alt=""><figcaption></figcaption></figure>

#### Logic to determine Guest

We use the following logic for Guests allocated to Classes to determine which Pass media to pass back to RTP to trigger this lesson usage scan.

We do this scan 30 minutes after the start of each lesson.

1. If the student was scanned in, use that lift pass
2. If no, use the lift pass on the guest profile
3. If that doesn't exist, reach out and get the lift pass via the person fetch


---

# 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/1.-resort-pos-integration/rtp/4.-rtp-specific-flaik-functionality/feature-track-lesson-usage.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.
