Skip to content
NEWCollect for MSMEs: UPI Autopay, eNACH & remindersExplore app ↗

Register Student

The Register Student API allows you to register a new student for a given user, uniquely identified by the :registration_id. This API is used to create student profiles associated with specific users within the Jodo system.

Terminal window
POST /api/v1/integrations/erp/users/:registration_id/students
HeaderValueDescription
Content-Typeapplication/jsonThe data format for the request body.
AuthorizationBasic ZGVtbzpwQDU1dzByZA==Replace with your actual authorization token.
ParameterDescription
registration_idUnique identifier for the user.

The request body should contain the following JSON parameters:

PropertyTypeRequiredDescription
fullnamestringYesThe full name of the student.
identifierstringYesAn identifier for the student (e.g., student ID).
gradestringYesThe grade or class the student is in.
new_admissionbooleanYesIndicates if it’s a new admission or not.
academic_year_startstringYesThe start year of the academic year.
academic_year_endstringYesThe end year of the academic year.
date_of_birthstringYesThe date of birth of the student in “YYYY-MM-DD” format.
primary_contact_namestringYesThe name of the primary contact for the student.
primary_contact_numberstringYesThe primary contact number of the student’s primary contact.
primary_contact_emailstringYesThe primary contact email of the student’s primary contact.

fee_components (array of objects, optional)

Section titled “fee_components (array of objects, optional)”
PropertyTypeRequiredDescription
component_typestringYesThe type of fee component (e.g., TUITION_FEE, TRANSPORT_FEE, etc.).
fee_amountnumberYesThe fee amount for the component.
discountsarrayNoAn array of objects representing discounts applied to this component.
PropertyTypeRequiredDescription
amountnumberYesThe payment amount.
paid_atstringYesThe date and time of the payment in ISO 8601 format.
modestringYesThe payment mode (e.g., cash, credit card, etc.).
transaction_idstringYesThe unique transaction ID for the student.
settlement_utrstringNoThe settlement UTR (Unique Transaction Reference) if applicable.
notesstringNoAdditional notes or comments regarding the payment.
fee_componentsarrayYesAn array of objects representing fee components included in this payment.
Terminal window
curl --location --globoff 'https://[base_url]/api/v1/integrations/erp/users/:registration_id/students' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ZGVtbzpwQDU1dzByZA==' \
--data-raw '{
"student": {
"fullname": "Ron Rivest",
"identifier": "STUDENT_IDENTIFIER",
"grade": "fdb97be4",
"new_admission": true,
"academic_year_start": "2022",
"academic_year_end": "2023",
"date_of_birth": "2021-11-03",
"primary_contact_name": "Leonard Adleman",
"primary_contact_number": "9918900100",
"primary_contact_email": "customer@example.com"
},
"fee_components": [
{
"component_type": "TUITION_FEE",
"fee_amount": 10000,
"discounts": [
{
"value": 500,
"discount_type": "SCHOLARSHIP"
}
]
},
{
"component_type": "TRANSPORT_FEE",
"fee_amount": 10500
}
],
"payments": [
{
"amount": 2000,
"paid_at": "2022-01-29T10:05:45Z",
"mode": "cash",
"transaction_id": "tra_1234",
"settlement_utr": "settl_1234",
"notes": "advance payment",
"fee_components": [
{
"component_type": "TUITION_FEE",
"amount": 1000
},
{
"component_type": "TRANSPORT_FEE",
"amount": 1000
}
]
}
]
}'

The API response will be in JSON format with the following structure:

{
"status": "success",
"data": {
"jodo_student_id": "student_12345"
}
}
PropertyTypeDescription
statusstringIndicates the status of the API request. Possible values are “success” and “error”.
dataobjectContains the data related to the newly registered student.
data.jodo_student_idstringThe unique identifier assigned to the newly registered student within Jodo.