School Profile - PaperLessEdu/schoolerp-web-ui GitHub Wiki

School Profile Module

  1. Create school branches

Table Name: school_branches

Method: POST

Field Description
school_branch_id Primary key
branchName
address
pincode
phoneNo
emailId

Request Payload

{ "branchName": "Pune", "address": "Pune", "pincode": "415109", "phoneNo": "8793448868", "emailId": "[email protected]" }


  1. School Profile

Table Name: school_profile

Method: POST

Field Description
school_profile_id Primary key
schoolName
websiteUrl
establishYear
directorName

Request Payload

{ "schoolName": "Star English Medium School", "websiteUrl": "www.star.org", "establishYear": "2017-2018", "directorName": "Sagar Atole" }


curl -X POST
http://localhost:9090/schoolProfile
-H 'Cache-Control: no-cache'
-H 'Content-Type: application/json'
-H 'Postman-Token: e5992733-3643-41f3-a378-3fd879d2a933'
-d '{ "branch_name":"alandi2" , "address":"near alandi temple", "pincode":"415311", "phone_no":"9403546565", "emailid":"[email protected]"}'

get all school profile http://localhost:9090/schoolProfile

http://localhost:9090/schoolProfile/18

⚠️ **GitHub.com Fallback** ⚠️