GET api/Student/GetByRegNoWithActivation/{regNo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
regNo

string

Required

Body Parameters

None.

Response Information

Resource Description

Student
NameDescriptionTypeAdditional information
StudentId

integer

None.

RegistrationNo

string

None.

Name

string

None.

Address1

string

None.

Address2

string

None.

Address3

string

None.

NIC

string

None.

Telephone

string

None.

Mobile

string

None.

Email

string

None.

SchoolId

integer

None.

ALYear

integer

None.

Centre

string

None.

FatherName

string

None.

FatherOccupation

string

None.

FatherMobile

string

None.

MotherName

string

None.

MotherOccupation

string

None.

MotherMobile

string

None.

EmergencyMobileNo

string

None.

TrCode

string

None.

Gender

string

None.

FeeType

string

None.

IsActive

boolean

None.

Grade

integer

None.

Password

string

None.

Birthday

string

None.

SelectedCourses

Collection of Enrolment

None.

StreamId

integer

None.

ClassTypeId

integer

None.

PaymentModeId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "studentId": 1,
  "registrationNo": "sample string 2",
  "name": "sample string 3",
  "address1": "sample string 4",
  "address2": "sample string 5",
  "address3": "sample string 6",
  "nic": "sample string 7",
  "telephone": "sample string 8",
  "mobile": "sample string 9",
  "email": "sample string 10",
  "schoolId": 1,
  "alYear": 1,
  "centre": "sample string 11",
  "fatherName": "sample string 12",
  "fatherOccupation": "sample string 13",
  "fatherMobile": "sample string 14",
  "motherName": "sample string 15",
  "motherOccupation": "sample string 16",
  "motherMobile": "sample string 17",
  "emergencyMobileNo": "sample string 18",
  "trCode": "sample string 19",
  "gender": "sample string 20",
  "feeType": "sample string 21",
  "isActive": true,
  "grade": 23,
  "password": "sample string 24",
  "birthday": "sample string 25",
  "selectedCourses": [
    {
      "courseId": 1,
      "feeTypeId": 2,
      "hasAdmissionFee": true,
      "hasMaintenanceFee": true,
      "lecturerId": 5,
      "courses": [
        {
          "key": 1,
          "value": "sample string 2"
        },
        {
          "key": 1,
          "value": "sample string 2"
        }
      ]
    },
    {
      "courseId": 1,
      "feeTypeId": 2,
      "hasAdmissionFee": true,
      "hasMaintenanceFee": true,
      "lecturerId": 5,
      "courses": [
        {
          "key": 1,
          "value": "sample string 2"
        },
        {
          "key": 1,
          "value": "sample string 2"
        }
      ]
    }
  ],
  "streamId": 26,
  "classTypeId": 27,
  "paymentModeId": 28
}

application/xml, text/xml

Sample:
<Student xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <ALYear>1</ALYear>
  <Address1>sample string 4</Address1>
  <Address2>sample string 5</Address2>
  <Address3>sample string 6</Address3>
  <Birthday>sample string 25</Birthday>
  <Centre>sample string 11</Centre>
  <ClassTypeId>27</ClassTypeId>
  <Email>sample string 10</Email>
  <EmergencyMobileNo>sample string 18</EmergencyMobileNo>
  <FatherMobile>sample string 14</FatherMobile>
  <FatherName>sample string 12</FatherName>
  <FatherOccupation>sample string 13</FatherOccupation>
  <FeeType>sample string 21</FeeType>
  <Gender>sample string 20</Gender>
  <Grade>23</Grade>
  <IsActive>true</IsActive>
  <Mobile>sample string 9</Mobile>
  <MotherMobile>sample string 17</MotherMobile>
  <MotherName>sample string 15</MotherName>
  <MotherOccupation>sample string 16</MotherOccupation>
  <NIC>sample string 7</NIC>
  <Name>sample string 3</Name>
  <Password>sample string 24</Password>
  <PaymentModeId>28</PaymentModeId>
  <RegistrationNo>sample string 2</RegistrationNo>
  <SchoolId>1</SchoolId>
  <SelectedCourses>
    <Enrolment>
      <CourseId>1</CourseId>
      <Courses>
        <KeyVal>
          <Key>1</Key>
          <Value>sample string 2</Value>
        </KeyVal>
        <KeyVal>
          <Key>1</Key>
          <Value>sample string 2</Value>
        </KeyVal>
      </Courses>
      <FeeTypeId>2</FeeTypeId>
      <HasAdmissionFee>true</HasAdmissionFee>
      <HasMaintenanceFee>true</HasMaintenanceFee>
      <LecturerId>5</LecturerId>
    </Enrolment>
    <Enrolment>
      <CourseId>1</CourseId>
      <Courses>
        <KeyVal>
          <Key>1</Key>
          <Value>sample string 2</Value>
        </KeyVal>
        <KeyVal>
          <Key>1</Key>
          <Value>sample string 2</Value>
        </KeyVal>
      </Courses>
      <FeeTypeId>2</FeeTypeId>
      <HasAdmissionFee>true</HasAdmissionFee>
      <HasMaintenanceFee>true</HasMaintenanceFee>
      <LecturerId>5</LecturerId>
    </Enrolment>
  </SelectedCourses>
  <StreamId>26</StreamId>
  <StudentId>1</StudentId>
  <Telephone>sample string 8</Telephone>
  <TrCode>sample string 19</TrCode>
</Student>