POST api/StudentsApi/StudentRegistrationInsertion

Request Information

URI Parameters

None.

Body Parameters

StudentRegistrationViewModel
NameDescriptionTypeAdditional information
Id

decimal number

None.

BrId

decimal number

None.

RegistrationNo

string

None.

StudentName

string

None.

ClassId

decimal number

None.

DateOfRegistration

date

None.

Gender

string

None.

SessionId

decimal number

None.

ParentName

string

None.

ParentMobileNo

string

None.

Address

string

None.

AreaId

decimal number

None.

CityId

decimal number

None.

CNIC

string

None.

Occupation

string

None.

Comments

string

None.

ListClassPlan

Collection of ClasPlan

None.

ListSession

Collection of DropDownWithDates

None.

ListArea

Collection of DropDown

None.

ListCity

Collection of DropDown

None.

CreatedDate

date

None.

CreatedBy

decimal number

None.

FeesData

FeesStudentRegistration

None.

ButtonType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1.0,
  "BrId": 2.0,
  "RegistrationNo": "sample string 3",
  "StudentName": "sample string 4",
  "ClassId": 1.0,
  "DateOfRegistration": "2024-06-29T16:25:43.9444405+05:00",
  "Gender": "sample string 5",
  "SessionId": 1.0,
  "ParentName": "sample string 6",
  "ParentMobileNo": "sample string 7",
  "Address": "sample string 8",
  "AreaId": 9.0,
  "CityId": 1.0,
  "CNIC": "sample string 10",
  "Occupation": "sample string 11",
  "Comments": "sample string 12",
  "ListClassPlan": [
    {
      "CLASS_ID": 1.0,
      "CLASS_Name": "sample string 2",
      "CLASS_IS_SUPPLEMENTARY_BILLS": true,
      "EncryptId": "sample string 3"
    },
    {
      "CLASS_ID": 1.0,
      "CLASS_Name": "sample string 2",
      "CLASS_IS_SUPPLEMENTARY_BILLS": true,
      "EncryptId": "sample string 3"
    }
  ],
  "ListSession": [
    {
      "StartDate": "2024-06-29T16:25:43.9600561+05:00",
      "EndDate": "2024-06-29T16:25:43.9600561+05:00",
      "Id": 3.0,
      "Name": "sample string 4"
    },
    {
      "StartDate": "2024-06-29T16:25:43.9600561+05:00",
      "EndDate": "2024-06-29T16:25:43.9600561+05:00",
      "Id": 3.0,
      "Name": "sample string 4"
    }
  ],
  "ListArea": [
    {
      "Id": 1.0,
      "Name": "sample string 2"
    },
    {
      "Id": 1.0,
      "Name": "sample string 2"
    }
  ],
  "ListCity": [
    {
      "Id": 1.0,
      "Name": "sample string 2"
    },
    {
      "Id": 1.0,
      "Name": "sample string 2"
    }
  ],
  "CreatedDate": "2024-06-29T16:25:43.9600561+05:00",
  "CreatedBy": 14.0,
  "FeesData": {
    "lstYearlyFeePlan": [
      {
        "Id": 1.0,
        "Name": "sample string 2"
      },
      {
        "Id": 1.0,
        "Name": "sample string 2"
      }
    ],
    "lstFeePlanDef": [
      {
        "Id": 1.0,
        "Name": "sample string 2",
        "Fee": 3.1,
        "FeeType": "sample string 4",
        "FeeOperation": "sample string 5"
      },
      {
        "Id": 1.0,
        "Name": "sample string 2",
        "Fee": 3.1,
        "FeeType": "sample string 4",
        "FeeOperation": "sample string 5"
      }
    ],
    "YearlyPlanId": 1.0,
    "MonthOfFees": "2024-06-29T16:25:43.9600561+05:00",
    "TotalFee": 1.1
  },
  "ButtonType": "sample string 15"
}

application/xml, text/xml

Sample:
<StudentRegistrationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModels">
  <Address>sample string 8</Address>
  <AreaId>9</AreaId>
  <BrId>2</BrId>
  <ButtonType>sample string 15</ButtonType>
  <CNIC>sample string 10</CNIC>
  <CityId>1</CityId>
  <ClassId>1</ClassId>
  <Comments>sample string 12</Comments>
  <CreatedBy>14</CreatedBy>
  <CreatedDate>2024-06-29T16:25:43.9600561+05:00</CreatedDate>
  <DateOfRegistration>2024-06-29T16:25:43.9444405+05:00</DateOfRegistration>
  <FeesData>
    <MonthOfFees>2024-06-29T16:25:43.9600561+05:00</MonthOfFees>
    <TotalFee>1.1</TotalFee>
    <YearlyPlanId>1</YearlyPlanId>
    <lstFeePlanDef>
      <usp_StudentRegistrationFeeSelectionResult>
        <Fee>3.1</Fee>
        <FeeOperation>sample string 5</FeeOperation>
        <FeeType>sample string 4</FeeType>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </usp_StudentRegistrationFeeSelectionResult>
      <usp_StudentRegistrationFeeSelectionResult>
        <Fee>3.1</Fee>
        <FeeOperation>sample string 5</FeeOperation>
        <FeeType>sample string 4</FeeType>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </usp_StudentRegistrationFeeSelectionResult>
    </lstFeePlanDef>
    <lstYearlyFeePlan>
      <DropDown>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </DropDown>
      <DropDown>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </DropDown>
    </lstYearlyFeePlan>
  </FeesData>
  <Gender>sample string 5</Gender>
  <Id>1</Id>
  <ListArea>
    <DropDown>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </DropDown>
    <DropDown>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </DropDown>
  </ListArea>
  <ListCity>
    <DropDown>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </DropDown>
    <DropDown>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </DropDown>
  </ListCity>
  <ListClassPlan>
    <ClasPlan>
      <EncryptId>sample string 3</EncryptId>
      <CLASS_ID>1</CLASS_ID>
      <CLASS_IS_SUPPLEMENTARY_BILLS>true</CLASS_IS_SUPPLEMENTARY_BILLS>
      <CLASS_Name>sample string 2</CLASS_Name>
    </ClasPlan>
    <ClasPlan>
      <EncryptId>sample string 3</EncryptId>
      <CLASS_ID>1</CLASS_ID>
      <CLASS_IS_SUPPLEMENTARY_BILLS>true</CLASS_IS_SUPPLEMENTARY_BILLS>
      <CLASS_Name>sample string 2</CLASS_Name>
    </ClasPlan>
  </ListClassPlan>
  <ListSession>
    <DropDownWithDates>
      <Id>3</Id>
      <Name>sample string 4</Name>
      <EndDate>2024-06-29T16:25:43.9600561+05:00</EndDate>
      <StartDate>2024-06-29T16:25:43.9600561+05:00</StartDate>
    </DropDownWithDates>
    <DropDownWithDates>
      <Id>3</Id>
      <Name>sample string 4</Name>
      <EndDate>2024-06-29T16:25:43.9600561+05:00</EndDate>
      <StartDate>2024-06-29T16:25:43.9600561+05:00</StartDate>
    </DropDownWithDates>
  </ListSession>
  <Occupation>sample string 11</Occupation>
  <ParentMobileNo>sample string 7</ParentMobileNo>
  <ParentName>sample string 6</ParentName>
  <RegistrationNo>sample string 3</RegistrationNo>
  <SessionId>1</SessionId>
  <StudentName>sample string 4</StudentName>
</StudentRegistrationViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.