Student Suspension Updated Event

  • When student is suspended due to non-payment of Fees

    Event name: StudentSuspensionUpdatedEvent
    Event response:
    {
      "event": "StudentSuspensionUpdatedEvent",
      "payload": {
        "reason": "FEE_DELAY",
        "overDue": {
          "value": 100000,
          "currency": "INR"
        },
        "suspended": true,
        "classroom": {
          "_id": "XXXXXXXXXXXXXXX",
          "name": "Music for all",
          "subject": "Music",
          "classNumber": 775110258
        },
        "student": {
          "_id": "XXXXXXXXXXXXXXX",
          "name": "Suman",
          "phoneNumber": "XXXXXXXXXXXXXXX"
        }
      }
    }
  • When student is manually suspended

    Event name: StudentSuspensionUpdatedEvent
    Event response:
    {
      "event": "StudentSuspensionUpdatedEvent",
      "payload": {
        "reason": "SUSPEND",
        "suspended": true,
        "classroom": {
          "_id": "XXXXXXXXXXXXXXX",
          "name": "Training for Dance ",
          "subject": "Dance",
          "classNumber": 125520757
        },
        "student": {
          "_id": "XXXXXXXXXXXXXXX",
          "name": "Gautam",
          "email": "XXXXXXXXXXXXXXX"
        },
        "teacher": {
          "_id": "XXXXXXXXXXXXXXX",
          "name": "Utkarsh",
          "phoneNumber": "XXXXXXXXXXXXXXX",
          "email": "XXXXXXXXXXXXXXX"
        }
      }
    }
  • When student is manually unsuspended

    Event name: StudentSuspensionUpdatedEvent
    Event response:
    {
      "event": "StudentSuspensionUpdatedEvent",
      "payload": {
        "reason": "SUSPEND",
        "suspended": false,
        "classroom": {
          "_id": "XXXXXXXXXXXXXXX",
          "name": "Training for Dance ",
          "subject": "Dance",
          "classNumber": 125520757
        },
        "student": {
          "_id": "XXXXXXXXXXXXXXX",
          "name": "Gautam",
          "email": "XXXXXXXXXXXXXXX"
        },
        "teacher": {
          "_id": "XXXXXXXXXXXXXXX",
          "name": "Utkarsh",
          "phoneNumber": "XXXXXXXXXXXXXXX",
          "email": "XXXXXXXXXXXXXXX"
        }
      }
    }

Last updated