# Exercise 2: Customer Records

## Requirements

* The data will be related to a given time interval.&#x20;
* The data will be retrieved through an API.&#x20;
* The API Method will be “GET”.&#x20;
* The records will be fetched from an Entity “UserName\_Acc\_customers” through JSON.&#x20;
* A specific number of records will be fetched. (a count will be maintained)&#x20;
* The records to be fetched will be on and after a particular date of joining (until the count is reached).&#x20;
* The records to be fetched will be after a particular number of records, i.e. after the first ten records.

## Solution

Follow the steps for the solution:

* Create the API
* Test the API


---

# Agent Instructions: 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:

```
GET https://docs.langstack.com/welcome/get-started/learn-langstack/introduction-to-entities/exercise-2-customer-records.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
