<a id="16a3160bddf280ec9403ccee7930bf05"></a><a id="16a3160b-ddf2-80ec-9403-ccee7930bf05"></a>

the CRM has monthly control indices. 

# <a id="ler-um-índice-de-controle" data-help-heading="true"></a>Read a control index

### Request

<strong>Endpoint</strong>: GET /api/v0/monthly\_stats

<strong>Params:</strong>

- <strong>app\_key:</strong> api key of the partner or api key of the school

- <strong>where\[type\]:</strong> SchoolMonthlyStat. (fixed, always this value)

- <strong>where\[year\]:</strong> the year to request the index in YYYY format. eg: 2024

- <strong>where\[month\]:</strong> month of the year to request the index in MM format. eg: 01

- <strong>where\[name\]: </strong>name of the control index. see below the valid names.

- <strong>where\[account\_name\]: </strong>padma\_school id.

<strong>example request:</strong>

curl "https://crm.padm.am/api/v0/monthly\_stats?app\_key=XXXX&where\[type\]=SchoolMonthlyStat&where\[year\]=2024&where\[month\]=11&where\[name\]=dropouts&where\[account\_name\]=cervino"

<strong>example response:</strong>

HTTP/1.1 200 OK

\[\{"id":1834344,"ref\_date":"2024-11-30","account\_id":1,"user\_id":null,"name":"dropouts",<strong>"value":3,</strong>"unit":null,"created\_at":"2024-10-30T11:46:09.000-03:00","updated\_at":"2024-11-29T15:55:03.000-03:00","display\_user\_id":"null"\}\]

## <strong>Response</strong>

Response comes in JSON format. It is an array of objects with the fields:

- <strong>ref\_date</strong>: reference date of the control index
- <strong>name</strong>: statistic name
- <strong>value</strong>: the index value. eg: 10.
- <strong>updated\_at</strong>: date and time when this value was updated.
- <strong>…</strong>

# <a id="índices-disponíveis-valid-names" data-help-heading="true"></a>Available indices (valid NAMEs)

<a id="2173160bddf2803fb305e4e7f0e493c2"></a><a id="2173160b-ddf2-803f-b305-e4e7f0e493c2"></a>

<strong>demand</strong>: Searches

<strong>male\_demand</strong>: Search for men

<strong>interviews</strong>: Visits

<strong>male\_interviews</strong>: Visit of men

<strong>p\_interviews</strong>: Profile visits

<strong>male\_p\_interviews</strong>: Profile visit of men

<strong>enrollments</strong>: Enrollments 

<strong>students</strong>: Students

<strong>male\_students</strong>: male students

<strong>standard\_students</strong>: Students paying ‘standard’, above the MP.

<strong>lite\_students</strong>: Students paying ‘lite’, below the MP.

<strong>aspirant\_students, sadhaka\_students, yogin\_students, chela\_students, graduate\_students, assistant\_students, professor\_students, master\_students: </strong>Students at the aspirant, sadhaka, yogin level, etc.

<strong>students\_average\_age: </strong>Average age of students

<strong>count\_students\_0\_25: </strong>Students aged between 0 and 25 years (inclusive)

<strong>count\_students\_0\_35: </strong>Students aged between 0 and 35 years (inclusive)

<strong>students\_cycle\_duration: </strong>How many days does a student stay at the school on average.<strong> </strong>

<strong>dropouts</strong>: Dropouts

… there are many others. consult our team: [Contact](/support/new)