> For the complete documentation index, see [llms.txt](https://docs.langstack.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.langstack.com/welcome/get-started/learn-langstack/introduction-to-entities/exercise-2-customer-records.md).

# 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
