POST /v1/registration-fees/{id}/unarchive

Unarchive Registration Fee

Path parameters

  • id string Required

    RegistrationFee id

Responses

  • 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

  • 404 application/json

    Not found

    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

  • 200 application/json

    successful operation

    Hide response attributes Show response 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 Required

      Tax Rate schema

      Hide taxRate attributes Show taxRate attributes object
      • 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

POST /v1/registration-fees/{id}/unarchive
curl \
 --request POST 'https://classmanager.test/v1/registration-fees/_xxxxxxxx/unarchive'
Response examples (403)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}
Response examples (404)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}
Response examples (200)
{
  "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"
}