Code Monkey home page Code Monkey logo

webapi_asp.net's Introduction

Student API:

Create Student: Endpoint: POST /students Payload: Student details (name, roll number, etc.) Edit Student: Endpoint: PUT /students/{student_id} Payload: Updated student details Delete Student: Endpoint: DELETE /students/{student_id} Subject API:

Add Subject: Endpoint: POST /subjects Payload: Subject details (name, code, etc.) Edit Subject: Endpoint: PUT /subjects/{subject_id} Payload: Updated subject details Delete Subject: Endpoint: DELETE /subjects/{subject_id} Student-Subject Assignment API:

Assign Subject to Student: Endpoint: POST /student-subjects Payload: { "student_id": 1, "subject_id": 101 } Edit Assignment: Endpoint: PUT /student-subjects/{assignment_id} Payload: Updated assignment details Delete Assignment: Endpoint: DELETE /student-subjects/{assignment_id} Marks API:

Record Marks: Endpoint: POST /marks Payload: { "student_id": 1, "subject_id": 101, "marks": 85 } Edit Marks: Endpoint: PUT /marks/{marks_id} Payload: Updated marks details Delete Marks:

Get Student Information:

Endpoint: GET /students/{student_id} Response: Student details (name, roll number, etc.) Get All Students:

Endpoint: GET /students Response: List of all students Get Subject Information:

Endpoint: GET /subjects/{subject_id} Response: Subject details (name, code, etc.) Get All Subjects:

Endpoint: GET /subjects Response: List of all subjects Get Student's Subjects:

Endpoint: GET /students/{student_id}/subjects Response: List of subjects assigned to the student Get Marks for a Subject:

Endpoint: GET /students/{student_id}/subjects/{subject_id}/marks Response: Marks obtained by the student in the specified subject Get All Marks for a Student:

Endpoint: GET /students/{student_id}/marks Response: List of marks for all subjects of the student Get GPA for a Student:

Endpoint: GET /students/{student_id}/gpa Response: Current GPA of the student

webapi_asp.net's People

Contributors

tubamushtaq5 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.