GET /v1/registration-fees/

List Registration Fee

Query parameters

  • page number

    Current page

  • pageSize number

    Number of items per page

  • selectAll boolean

    Determines if all items are selected

  • where object

    RegistrationFee Filters: 0, 1, 2

    Hide where attributes Show where attributes object
  • sort object

    RegistrationFee Sorting by name, repetitionInterval, createdAt

    Hide sort attributes Show sort attributes object
    • name string

      Values are asc or desc.

    • repetitionInterval string

      Values are asc or desc.

    • createdAt string

      Values are asc or desc.

  • onlyArchived boolean

    Determines whether to return only archived records in the response.

Responses

  • 200 application/json

    Paginated response

    Hide response attributes Show response attributes object
    • data array[object] Required

      Registration Fee schema

      Hide data attributes Show data attributes object
      • id string Required

        Registration fee ID

      • name string Required

        Name

      • amount integer Required

        Amount

      • maxAmountPerFamily integer | null Required

        Max Amount Per Family

      • repetitionInterval string Required

        Values are one-off, annual, or per-season.

      • dueDate string(date) | null Required

        Due Date

      • proRated boolean

        Whether the registration fee can be pro-rated

      • taxRate object | null Required

        Tax Rate schema

        Hide taxRate attributes Show taxRate attributes object | null
        • id string Required

          id

        • rate number(float) Required

          Tax Rate (percent) with 3 decimal places

        • label string Required

          Label

        • isDefault boolean Required

          Is Default

      • archivedAt string(date-time) | null Required

        Archived At

    • pagination object Required

      Pagination schema

      Hide pagination attributes Show pagination attributes object
      • total integer Required

        Total number of items

      • count integer Required

        Number of items on this page

      • perPage integer

        Number of items per page

      • currentPage integer

        Current page number

      • totalPages integer

        Total number of pages

  • 403 application/json

    Not authorized

    Hide response attributes Show response attributes object

    Error schema

    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

GET /v1/registration-fees/
curl \
 --request GET 'https://api.classmanager.io/v1/registration-fees/'
Response examples (200)
{
  "data": [
    {
      "id": "reg_xxxxxxxxxxxxxxxxxxxxxxxxxx",
      "name": "Registration Fee",
      "amount": 100,
      "maxAmountPerFamily": 100,
      "repetitionInterval": "one-off",
      "dueDate": "2023-12-05",
      "proRated": true,
      "taxRate": {
        "id": "tax_xxxxxxxxxxxxxxxxxxxxxxxxxx",
        "rate": "20.000",
        "label": "VAT (20%)",
        "isDefault": true
      },
      "archivedAt": "2024-06-12T09:39:49.000000Z"
    }
  ],
  "pagination": {
    "total": 15,
    "count": 10,
    "perPage": 10,
    "currentPage": 1,
    "totalPages": 2
  }
}
Response examples (403)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}