SESSION LIST
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/sessions/sessionList' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=op2osvl6kn8ob16fk3d4q66cql9k2mim' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=10'

ACCEPT SESSION
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/sessions/acceptSession' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=10' \
--data-urlencode 'session_id=1'

RESCHEDULE SESSION
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/sessions/rescheduleSession' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=g76e0seleoqhh8qn1l9gdsdqtc239gjs' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=10' \
--data-urlencode 'session_id=1' \
--data-urlencode 'reason=Not available at the scheduled time'




UPDATE USER PROFILE UPDATED [DYNAMIC CLASS STANDARD]
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/user/updateUserProfile' \
--header 'Cookie: ci_session=0hh1gjke9emc48issa487irhvbflq5ri' \
--form 'api_key="Uh16aruSzs0qJK3"' \
--form 'user_id="10"' \
--form 'fullname="John Doe"' \
--form 'email="john@example.com"' \
--form 'board_id="1"' \
--form 'institute_id="1"' \
--form 'parent_id="1"' \
--form 'dob="2000-01-01"' \
--form 'class_standard="10"' \
--form 'address="123 Main St"' \
--form 'profile_pic=@"/path/to/file"'












ADD SSA SCORE BY STUDENT

curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/SSA/addSsaScore' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=u95gt2gk9pfr3igpd2fpq7gagolej6vu' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=15' \
--data-urlencode 'subject_id=1' \
--data-urlencode 'chapter_id=2' \
--data-urlencode 'score_color=red'


GET ADDED SSA SCORES [with color code , added random motivational for each]
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/SSA/getSsaScores' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=tir45t1m3u6ljoqpcvdh2r4bmjt0ot44' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=15' \
--data-urlencode 'chapter_id=2'










ALL NEW


UPDATED STUDENT/PARENT REGISTRATION [WITH LOGIN UPDATION]
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/login/submitRegister' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=04690f6776ml9d5mfntdkcls3l5vgcau' \
--data-urlencode 'fullname=Anu' \
--data-urlencode 'email=anu@gmail.com' \
--data-urlencode 'mobile=7676767671' \
--data-urlencode 'board_id=1' \
--data-urlencode 'institute_id=1' \
--data-urlencode 'class_standard_id=2' \
--data-urlencode 'dob=2005-08-15' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'parents%5B0%5D%5Bname%5D=Seema' \
--data-urlencode 'parents%5B0%5D%5Bmobile%5D=1212121212' \
--data-urlencode 'parents%5B0%5D%5Bparent_type%5D=mother' \
--data-urlencode 'parents%5B0%5D%5Boccupation%5D=Teacher' \
--data-urlencode 'parents%5B1%5D%5Bname%5D=Ravi' \
--data-urlencode 'parents%5B1%5D%5Bmobile%5D=2323232323' \
--data-urlencode 'parents%5B1%5D%5Bparent_type%5D=father' \
--data-urlencode 'parents%5B1%5D%5Boccupation%5D=Engineer'


LOGIN PART
GENERATE OTP
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/login/generateOtp' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=04690f6776ml9d5mfntdkcls3l5vgcau' \
--data-urlencode 'mobile=8299419866'

VERIFY OTP - WITH LIST OF USER PROFILE ASSOCIATED WITH THIS NUMBER
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/login/verifyOtp' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=04690f6776ml9d5mfntdkcls3l5vgcau' \
--data-urlencode 'mobile=8299419866' \
--data-urlencode 'otp=504982'

USER DETAILS    [updated with parent details]
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/user/userDetails' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=4t6il7mfpmukptlr60cuaqg8k5q79ait' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'user_id=10'

BOARDS LIST

curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/master/boardsList' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3'

CLASS STANDARD LIST

curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/master/classStandardList' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=tjonps8csn7r1jrt2b2lfm4ghkujdad1' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'board_id=1'

SUBJECT LIST
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/master/subjectList' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=tjonps8csn7r1jrt2b2lfm4ghkujdad1' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'board_id=1' \
--data-urlencode 'class_standard_id=2'


CHAPTER LIST
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/master/chapterList' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=g55alqvi4milhrhu30fli0b9fs8cj2c0' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'board_id=1' \
--data-urlencode 'class_standard_id=2' \
--data-urlencode 'subject_id=2'


INSTITUTES LIST
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/master/instituteList' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=l782licnp6cgebb184lfkuqv67tu3p0a' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3'

START DAP
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/DAP/startDap' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=r8deerqg0pnh0dqse9kg3q2bov3v9fmm' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2' \
--data-urlencode 'subject_id=3' \
--data-urlencode 'chapter_id=3'


STOP DAP
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/DAP/stopDap' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=518jb5k1hhn31rijtvbf5326tr5csabh' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2' \
--data-urlencode 'chapter_id=1'

UPDATE SSA SCORE
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/SSA/updateSsaScore' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=hlt13859vk7s65ah7q9vcvjs22c0347s' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2' \
--data-urlencode 'chapter_id=2' \
--data-urlencode 'score=45'

SUBJECT WISE ALL CHAPTERS SCORE
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/SSA/getSsaScoreDetails' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=hlt13859vk7s65ah7q9vcvjs22c0347s' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2' \
--data-urlencode 'subject_id=2'


















SPECIFIC CHAPTER SCORE
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/SSA/getSsaScoreDetails' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=hlt13859vk7s65ah7q9vcvjs22c0347s' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2' \
--data-urlencode 'chapter_id=2'


SMART REGULAR STUDY[RED]
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/DAP/dapSmartRegularStudy' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2'

SMART REVISION[AMBER]
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/DAP/dapSmartRevision' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=1'

SMART REVIEW[GREEN]
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/DAP/dapSmartReview' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2'




















DAP DATA[subject wise and chapter wise]
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/dap/dapChapterStatusView' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2' \
--data-urlencode 'subject_id=3' \
--data-urlencode 'chapter_id=3'

MGT
curl -X POST https://tipltemp.in/sanya/safal_dhyey/api/MGT/addMgt \
  -d "api_key=Uh16aruSzs0qJK3" \
  -d "student_id=1" \
  -d "exam_date=2025-05-21" \
  -d "exam_time_from=10:00" \
  -d "exam_time_to=11:00" \
  -d "subject_id=2" \
  -d "chapter_id=5" \
  -d "test_type=Weekly Test" \
  -d "total_marks=50" \
  -d "goal_marks=40" \
  -d "exam_category=Midterm"

curl -X POST https://tipltemp.in/sanya/safal_dhyey/api/MGT/getUpcomingExams \
  -d "api_key=Uh16aruSzs0qJK3" \
  -d "student_id=1"

curl -X POST https://tipltemp.in/sanya/safal_dhyey/api/MGT/submitSsaeMarks \
  -d "api_key=Uh16aruSzs0qJK3" \
  -d "mgt_id=10" \
  -d "ssae_marks=35" \
  -d "ssae_remarks=Good performance"

curl -X POST https://tipltemp.in/sanya/safal_dhyey/api/MGT/submitAchievedMarks \
  -d "api_key=Uh16aruSzs0qJK3" \
  -d "student_id=1" \
  -d "mgt_id=10" \
  -d "achieved_marks=38" \
  -d "achieved_remark=Well done"


curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/MGT/getCompletedExams' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=71d26h91hnnffhsou7tcg3i6i8o95opc' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2'


DAP TASKS

Task List
curl -X GET 'https://tipltemp.in/sanya/safal_dhyey/api/DAP/taskList?api_key=Uh16aruSzs0qJK3'


SUBMIT TASK BY STUDENT
curl -X POST 'https://tipltemp.in/sanya/safal_dhyey/api/DAP/submitTaskEntry' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'api_key=Uh16aruSzs0qJK3' \
-d 'student_id=123' \
-d 'dap_task_id=5' \
-d 'entry_date=2025-05-28' \
-d 'text_detail=Completed chapter 4' \
-d 'start_time=10:00' \
-d 'end_time=11:00' \
-d 'page_from=10' \
-d 'page_to=20'

TASK LIST/HISTORY
curl -X GET 'https://tipltemp.in/sanya/safal_dhyey/api/DAP/taskHistory?api_key=Uh16aruSzs0qJK3&student_id=123&entry_date=2025-05-28'










































SHT

Habit List
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/SHT/getHabitList?api_key=Uh16aruSzs0qJK3&student_id=2' \
--header 'Cookie: ci_session=92ns99rt8899890ab0d4o7qbv7qfcpkk'


Submit Habit Entry
curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/SHT/submitHabitEntry' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=72g3cdcjcs9i3vre4p9ide6el3k86bbi' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2' \
--data-urlencode 'sht_id=4'


Habit HISTORY
curl -X GET 'https://tipltemp.in/sanya/safal_dhyey/api/SHT/getHabitHistory?api_key=Uh16aruSzs0qJK3&student_id=123&entry_date=2025-05-29'


ADD HABIT BY STUDENT
curl -X POST https://tipltemp.in/sanya/safal_dhyey/api/SHT/addStudentHabit \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "api_key=Uh16aruSzs0qJK3" \
  -d "student_id=2" \
  -d "habit=My new habit"


  



curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/master/getDailyQuotation' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=5vh0qm8858emdk5d4f37q0s77et4acnr' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3'



curl --location 'https://tipltemp.in/sanya/safal_dhyey/api/MGT/mgtPercentage' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=q2j7o33e6pqjni74i786eqgple4ba9r0' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2'


























MGT PERCENTAGE WITH FILTER

curl --location 'http://localhost/techicom/safal_dhyey/api/MGT/mgtPercentage' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ci_session=q2j7o33e6pqjni74i786eqgple4ba9r0' \
--data-urlencode 'api_key=Uh16aruSzs0qJK3' \
--data-urlencode 'student_id=2' \
--data-urlencode 'filter=custom' \
--data-urlencode 'from_date=2025-05-01' \
--data-urlencode 'to_date=2025-05-30'

Note: filter value can be - custom with from_date and to_date , weekly,monthly,quarterly 