GET statistics Statistic

GET
/statistics/{statistic}

Authorization

Bearer
headerAuthorizationBearer <JWT>

Paste your JWT token here

Path Parameters

statistic*string

The statistic to retrieve.

Formatint32
Value in"TotalMembersPerYear""ActiveEnrollmentsPerStudy""NewMembersPerYear""NewBachelorMembersPerYear""NewMasterMembersPerYear""ActiveMembersPerYear""ActiveMembersPerStudy""ActivitiesPerInvolvedMember""NewMembersPerStudy""FirstYearsAtActivitiesPerYear""NewActiveMembersPerStudy"

Query Parameters

year?integer

The committee year for the point-in-time statistics; defaults to the current year.

Formatint32

Response Body

OK

application/json
  1. response

The collection of statistics shown on the administrative statistics page. When a single statistic is requested, only the corresponding property is populated and all other properties are null. Deleted (anonymized) member accounts are included in all historical statistics.

year*integer

The committee year the point-in-time statistic Backend.Controllers.DTOs.StatisticsResponseDTO.ActiveEnrollmentsPerStudy refers to.

Formatint32
snapshotAt*string

The moment the point-in-time statistic refers to: now for the current committee year, otherwise the end of the requested year.

Formatdate-time
totalMembersPerYear?array<>|

The number of members per committee year: at the end of each past year, and now for the current year. A member is someone with an active study enrollment, or an honorary member, "Lid van Verdienste" or gratie member.

activeEnrollmentsPerStudy?array<>|

The number of study enrollments per study that are active at the snapshot moment.

newMembersPerYear?array<>|

The number of new members per committee year: members that ever followed a study, or are a gratie member, honorary member or "Lid van Verdienste", counted in the year they registered, or in the year their first study starts if that is later.

newBachelorMembersPerYear?array<>|

The part of the new members per committee year (see ) that followed a bachelor when they became a member.

newMasterMembersPerYear?array<>|

The part of the new members per committee year (see ) that followed a master when they became a member. Members who were already a member and later start a master are not new master members.

activeMembersPerYear?array<>|

The number of unique members per committee year that are part of at least one group, disputes excluded.

activeMembersPerStudy?array<>|

Per committee year, a histogram of the studies followed by the active members (in at least one non-dispute group) of that year.

activitiesPerInvolvedMember?array<>|

Per committee year, how many members attended exactly 1, 2, 3, ... activities that year (confirmed, not on the waiting list). Members without any activity are not included.

newMembersPerStudy?array<>|

Per committee year, the new members of that year (see ) per study they followed at the moment they counted as new.

firstYearsAtActivitiesPerYear?array<>|

The number of unique first-years per committee year (all members that are new in that year, see ) that attended at least one activity in that year.

newActiveMembersPerStudy?array<>|

Per committee year, the new members of that year (see ) that were also active that year (in at least one non-dispute group), per study they followed at the moment they counted as new.

Example Request
curl -X GET 'https://example.com/statistics/TotalMembersPerYear'
Example Response
{  "year": 0,  "snapshotAt": "2019-08-24T14:15:22Z",  "totalMembersPerYear": [    {      "year": 0,      "count": 0    }  ],  "activeEnrollmentsPerStudy": [    {      "studyId": 0,      "studyTitle": "string",      "studyType": "Bachelor",      "count": 0    }  ],  "newMembersPerYear": [    {      "year": 0,      "count": 0    }  ],  "newBachelorMembersPerYear": [    {      "year": 0,      "count": 0    }  ],  "newMasterMembersPerYear": [    {      "year": 0,      "count": 0    }  ],  "activeMembersPerYear": [    {      "year": 0,      "count": 0    }  ],  "activeMembersPerStudy": [    {      "year": 0,      "studies": [        {          "studyId": 0,          "studyTitle": "string",          "studyType": "Bachelor",          "count": 0        }      ]    }  ],  "activitiesPerInvolvedMember": [    {      "year": 0,      "distribution": [        {          "activities": 0,          "members": 0        }      ]    }  ],  "newMembersPerStudy": [    {      "year": 0,      "studies": [        {          "studyId": 0,          "studyTitle": "string",          "studyType": "Bachelor",          "count": 0        }      ]    }  ],  "firstYearsAtActivitiesPerYear": [    {      "year": 0,      "count": 0    }  ],  "newActiveMembersPerStudy": [    {      "year": 0,      "studies": [        {          "studyId": 0,          "studyTitle": "string",          "studyType": "Bachelor",          "count": 0        }      ]    }  ]}