POST api/Student/AddStudentCourse

Request Information

URI Parameters

None.

Body Parameters

StudentCourseDetails
NameDescriptionTypeAdditional information
studcourseid

integer

None.

studentid

string

None.

courseid

string

None.

batchid

string

None.

batchname

string

None.

coursename

string

None.

status

string

None.

academicyear

string

None.

centid

string

None.

duration

string

None.

feesapplicable

string

None.

feestatus

string

None.

coursefee

integer

None.

createby

string

None.

createon

date

None.

updateby

string

None.

updateon

date

None.

Request Formats

application/json, text/json

Sample:
{
  "studcourseid": 1,
  "studentid": "sample string 2",
  "courseid": "sample string 3",
  "batchid": "sample string 4",
  "batchname": "sample string 5",
  "coursename": "sample string 6",
  "status": "sample string 7",
  "academicyear": "sample string 8",
  "centid": "sample string 9",
  "duration": "sample string 10",
  "feesapplicable": "sample string 11",
  "feestatus": "sample string 12",
  "coursefee": 1,
  "createby": "sample string 13",
  "createon": "2025-05-10T10:35:14.4735811+05:30",
  "updateby": "sample string 14",
  "updateon": "2025-05-10T10:35:14.4735811+05:30"
}

application/xml, text/xml

Sample:
<StudentCourseDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models">
  <academicyear>sample string 8</academicyear>
  <batchid>sample string 4</batchid>
  <batchname>sample string 5</batchname>
  <centid>sample string 9</centid>
  <coursefee>1</coursefee>
  <courseid>sample string 3</courseid>
  <coursename>sample string 6</coursename>
  <createby>sample string 13</createby>
  <createon>2025-05-10T10:35:14.4735811+05:30</createon>
  <duration>sample string 10</duration>
  <feesapplicable>sample string 11</feesapplicable>
  <feestatus>sample string 12</feestatus>
  <status>sample string 7</status>
  <studcourseid>1</studcourseid>
  <studentid>sample string 2</studentid>
  <updateby>sample string 14</updateby>
  <updateon>2025-05-10T10:35:14.4735811+05:30</updateon>
</StudentCourseDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>