POST api/StudentsApi/StudentInsertion
Request Information
URI Parameters
None.
Body Parameters
StdInfoName | Description | Type | Additional information |
---|---|---|---|
Student | StudentInfo |
None. |
|
Parent | ParentInfoEntity |
None. |
|
Gender | string |
None. |
|
Status | boolean |
None. |
|
LoginStatus | boolean |
None. |
|
ClassIdEncrypt | string |
None. |
|
NewArea | string |
None. |
|
FeesData | FeesStudentRegistration |
None. |
Request Formats
application/json, text/json
Sample:
{ "Student": { "STDNT_ID": 1.0, "STDNT_HD_ID": 2.0, "STDNT_BR_ID": 3.0, "STDNT_PARANT_ID": 4.0, "STDNT_CLASS_PLANE_ID": 1.0, "STDNT_CLASS_PLANE_ID_PREVIOUS": 1.0, "STDNT_CLASS_FEE_ID": 5.0, "STDNT_REG_BY_ID": 6.0, "STDNT_REG_BY_TYPE": "sample string 7", "STDNT_FIRST_NAME": "sample string 8", "STDNT_LAST_NAME": "sample string 9", "STDNT_GENDER": true, "STDNT_NATIONALITY": "sample string 10", "STDNT_RELIGION": "sample string 11", "STDNT_DOB": "2025-01-09T01:35:00.2093751+05:00", "STDNT_PREVIOUS_SCHOOL": "sample string 12", "STDNT_MOTHR_LANG": "sample string 13", "STDNT_EMAIL": "sample string 14", "STDNT_IMG": "sample string 15", "STDNT_EMERGENCY_CNTCT_NAME": "sample string 16", "STDNT_EMERGENCY_CNTCT_NO": "sample string 17", "STDNT_CELL_NO": "sample string 18", "STDNT_TEMP_ADDR": "sample string 19", "STDNT_PERM_ADDR": "sample string 20", "STDNT_TRANSPORT_MODE": "sample string 21", "STDNT_REG_DATE": "2025-01-09T01:35:00.2093751+05:00", "STDNT_CLASSES_START_DATE": "2025-01-09T01:35:00.2093751+05:00", "STDNT_STATUS": "sample string 22", "STDNT_SCHOOL_ID": "sample string 23", "STDNT_REGISTRATION_ID": "sample string 24", "STDNT_SESSION_ID": 1.0, "STDNT_DESCRIPTION": "sample string 25", "STDNT_DISCOUNT_RULE_ID": 1.0, "STDNT_HOUSE_ID": 1.0, "STDNT_DATE_OF_LEAVING": "2025-01-09T01:35:00.2093751+05:00", "STDNT_WITH_DRAW_NO": "sample string 26", "STDNT_CATEGORY": "sample string 27", "STDNT_CONDUCT_ID": 1.0, "STDNT_REMARKS": "sample string 28", "STDNT_COA_ID": 1.0, "STDNT_CITY_ID": 1.0, "STDNT_AREA_ID": 1.0, "STDNT_SCHOLARSHIP_ID": 1.0, "STDNT_LAB_TYPE": "sample string 29", "STDNT_IS_REJOIN": true, "USER_STATUS": "sample string 30", "CreatedDate": "2025-01-09T01:35:00.2093751+05:00", "CreatedBy": 1.0, "UpdatedDate": "2025-01-09T01:35:00.2093751+05:00", "UpdatedBy": 1.0, "StudentSubjectCompulsory": [ 1.0, 2.0 ], "StudentSubjectOptional": [ 1.0, 2.0 ], "StudentSubjectCompulsoryTermId": 31.0, "StudentSubjectOptionalTermId": 32.0, "IsStudentSubjectOptionalThisTerm": true, "IsStudentSubjectCompulsoryThisTerm": true, "IsStudentSubjectOptionalChanged": true, "IsStudentSubjectCompulsoryChanged": true, "ListTermsCompulsory": [ { "Id": 1.0, "Name": "sample string 2" }, { "Id": 1.0, "Name": "sample string 2" } ], "ListTermsOptional": [ { "Id": 1.0, "Name": "sample string 2" }, { "Id": 1.0, "Name": "sample string 2" } ], "SessionId": 37.0, "STDNT_SHORT_NAME": "sample string 38", "STDNT_IS_CITRIX": true, "STDNT_CITREX_SUBSCRIBTION_CODE": "sample string 39" }, "Parent": { "PARNT_ID": 1.0, "PARNT_HD_ID": 2.0, "PARNT_BR_ID": 3.0, "PARNT_REG_BY_ID": 4.0, "PARNT_REG_BY_TYPE": "sample string 5", "PARNT_FULL_NAME": "sample string 6", "PARNT_FIRST_NAME": "sample string 7", "PARNT_LAST_NAME": "sample string 8", "PARNT_NATIONALITY": "sample string 9", "PARNT_RELIGION": "sample string 10", "PARNT_DOB": "2025-01-09T01:35:00.2093751+05:00", "PARNT_CNIC": "sample string 11", "PARNT_OCCUPATION": "sample string 12", "PARNT_MOTHR_LANG": "sample string 13", "PARNT_EMAIL": "sample string 14", "PARNT_IMG": "sample string 15", "PARNT_CELL_NO": "sample string 16", "PARNT_RESIDENCE_NO": "sample string 17", "PARNT_OFFICE_NO": "sample string 18", "PARNT_TEMP_ADDR": "sample string 19", "PARNT_PERM_ADDR": "sample string 20", "PARNT_FIRST_NAME2": "sample string 21", "PARNT_LAST_NAME2": "sample string 22", "PARNT_NATIONALITY2": "sample string 23", "PARNT_RELIGION2": "sample string 24", "PARNT_DOB2": "2025-01-09T01:35:00.2093751+05:00", "PARNT_CNIC2": "sample string 25", "PARNT_OCCUPATION2": "sample string 26", "PARNT_MOTHR_LANG2": "sample string 27", "PARNT_EMAIL2": "sample string 28", "PARNT_IMG2": "sample string 29", "PARNT_CELL_NO2": "sample string 30", "PARNT_RESIDENCE_NO2": "sample string 31", "PARNT_OFFICE_NO2": "sample string 32", "PARNT_TEMP_ADDR2": "sample string 33", "PARNT_PERM_ADDR2": "sample string 34", "PARNT_REG_DATE": "2025-01-09T01:35:00.2093751+05:00", "PARNT_STATUS": "sample string 35", "PARNT_REG": "sample string 36", "PARNT_REG2": "sample string 37", "PARNT_FAMILY_CODE": "sample string 38", "PARNT_AREA": 1.0, "PARNT_CITY": 1.0 }, "Gender": "sample string 1", "Status": true, "LoginStatus": true, "ClassIdEncrypt": "sample string 4", "NewArea": "sample string 5", "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": "2025-01-09T01:35:00.2093751+05:00", "TotalFee": 1.1 } }
application/xml, text/xml
Sample:
<StdInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModels"> <ClassIdEncrypt>sample string 4</ClassIdEncrypt> <FeesData> <MonthOfFees>2025-01-09T01:35:00.2093751+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 1</Gender> <LoginStatus>true</LoginStatus> <NewArea>sample string 5</NewArea> <Parent> <PARNT_AREA>1</PARNT_AREA> <PARNT_BR_ID>3</PARNT_BR_ID> <PARNT_CELL_NO>sample string 16</PARNT_CELL_NO> <PARNT_CELL_NO2>sample string 30</PARNT_CELL_NO2> <PARNT_CITY>1</PARNT_CITY> <PARNT_CNIC>sample string 11</PARNT_CNIC> <PARNT_CNIC2>sample string 25</PARNT_CNIC2> <PARNT_DOB>2025-01-09T01:35:00.2093751+05:00</PARNT_DOB> <PARNT_DOB2>2025-01-09T01:35:00.2093751+05:00</PARNT_DOB2> <PARNT_EMAIL>sample string 14</PARNT_EMAIL> <PARNT_EMAIL2>sample string 28</PARNT_EMAIL2> <PARNT_FAMILY_CODE>sample string 38</PARNT_FAMILY_CODE> <PARNT_FIRST_NAME>sample string 7</PARNT_FIRST_NAME> <PARNT_FIRST_NAME2>sample string 21</PARNT_FIRST_NAME2> <PARNT_FULL_NAME>sample string 6</PARNT_FULL_NAME> <PARNT_HD_ID>2</PARNT_HD_ID> <PARNT_ID>1</PARNT_ID> <PARNT_IMG>sample string 15</PARNT_IMG> <PARNT_IMG2>sample string 29</PARNT_IMG2> <PARNT_LAST_NAME>sample string 8</PARNT_LAST_NAME> <PARNT_LAST_NAME2>sample string 22</PARNT_LAST_NAME2> <PARNT_MOTHR_LANG>sample string 13</PARNT_MOTHR_LANG> <PARNT_MOTHR_LANG2>sample string 27</PARNT_MOTHR_LANG2> <PARNT_NATIONALITY>sample string 9</PARNT_NATIONALITY> <PARNT_NATIONALITY2>sample string 23</PARNT_NATIONALITY2> <PARNT_OCCUPATION>sample string 12</PARNT_OCCUPATION> <PARNT_OCCUPATION2>sample string 26</PARNT_OCCUPATION2> <PARNT_OFFICE_NO>sample string 18</PARNT_OFFICE_NO> <PARNT_OFFICE_NO2>sample string 32</PARNT_OFFICE_NO2> <PARNT_PERM_ADDR>sample string 20</PARNT_PERM_ADDR> <PARNT_PERM_ADDR2>sample string 34</PARNT_PERM_ADDR2> <PARNT_REG>sample string 36</PARNT_REG> <PARNT_REG2>sample string 37</PARNT_REG2> <PARNT_REG_BY_ID>4</PARNT_REG_BY_ID> <PARNT_REG_BY_TYPE>sample string 5</PARNT_REG_BY_TYPE> <PARNT_REG_DATE>2025-01-09T01:35:00.2093751+05:00</PARNT_REG_DATE> <PARNT_RELIGION>sample string 10</PARNT_RELIGION> <PARNT_RELIGION2>sample string 24</PARNT_RELIGION2> <PARNT_RESIDENCE_NO>sample string 17</PARNT_RESIDENCE_NO> <PARNT_RESIDENCE_NO2>sample string 31</PARNT_RESIDENCE_NO2> <PARNT_STATUS>sample string 35</PARNT_STATUS> <PARNT_TEMP_ADDR>sample string 19</PARNT_TEMP_ADDR> <PARNT_TEMP_ADDR2>sample string 33</PARNT_TEMP_ADDR2> </Parent> <Status>true</Status> <Student> <CreatedBy>1</CreatedBy> <CreatedDate>2025-01-09T01:35:00.2093751+05:00</CreatedDate> <IsStudentSubjectCompulsoryChanged>true</IsStudentSubjectCompulsoryChanged> <IsStudentSubjectCompulsoryThisTerm>true</IsStudentSubjectCompulsoryThisTerm> <IsStudentSubjectOptionalChanged>true</IsStudentSubjectOptionalChanged> <IsStudentSubjectOptionalThisTerm>true</IsStudentSubjectOptionalThisTerm> <ListTermsCompulsory> <DropDown> <Id>1</Id> <Name>sample string 2</Name> </DropDown> <DropDown> <Id>1</Id> <Name>sample string 2</Name> </DropDown> </ListTermsCompulsory> <ListTermsOptional> <DropDown> <Id>1</Id> <Name>sample string 2</Name> </DropDown> <DropDown> <Id>1</Id> <Name>sample string 2</Name> </DropDown> </ListTermsOptional> <STDNT_AREA_ID>1</STDNT_AREA_ID> <STDNT_BR_ID>3</STDNT_BR_ID> <STDNT_CATEGORY>sample string 27</STDNT_CATEGORY> <STDNT_CELL_NO>sample string 18</STDNT_CELL_NO> <STDNT_CITREX_SUBSCRIBTION_CODE>sample string 39</STDNT_CITREX_SUBSCRIBTION_CODE> <STDNT_CITY_ID>1</STDNT_CITY_ID> <STDNT_CLASSES_START_DATE>2025-01-09T01:35:00.2093751+05:00</STDNT_CLASSES_START_DATE> <STDNT_CLASS_FEE_ID>5</STDNT_CLASS_FEE_ID> <STDNT_CLASS_PLANE_ID>1</STDNT_CLASS_PLANE_ID> <STDNT_CLASS_PLANE_ID_PREVIOUS>1</STDNT_CLASS_PLANE_ID_PREVIOUS> <STDNT_COA_ID>1</STDNT_COA_ID> <STDNT_CONDUCT_ID>1</STDNT_CONDUCT_ID> <STDNT_DATE_OF_LEAVING>2025-01-09T01:35:00.2093751+05:00</STDNT_DATE_OF_LEAVING> <STDNT_DESCRIPTION>sample string 25</STDNT_DESCRIPTION> <STDNT_DISCOUNT_RULE_ID>1</STDNT_DISCOUNT_RULE_ID> <STDNT_DOB>2025-01-09T01:35:00.2093751+05:00</STDNT_DOB> <STDNT_EMAIL>sample string 14</STDNT_EMAIL> <STDNT_EMERGENCY_CNTCT_NAME>sample string 16</STDNT_EMERGENCY_CNTCT_NAME> <STDNT_EMERGENCY_CNTCT_NO>sample string 17</STDNT_EMERGENCY_CNTCT_NO> <STDNT_FIRST_NAME>sample string 8</STDNT_FIRST_NAME> <STDNT_GENDER>true</STDNT_GENDER> <STDNT_HD_ID>2</STDNT_HD_ID> <STDNT_HOUSE_ID>1</STDNT_HOUSE_ID> <STDNT_ID>1</STDNT_ID> <STDNT_IMG>sample string 15</STDNT_IMG> <STDNT_IS_CITRIX>true</STDNT_IS_CITRIX> <STDNT_IS_REJOIN>true</STDNT_IS_REJOIN> <STDNT_LAB_TYPE>sample string 29</STDNT_LAB_TYPE> <STDNT_LAST_NAME>sample string 9</STDNT_LAST_NAME> <STDNT_MOTHR_LANG>sample string 13</STDNT_MOTHR_LANG> <STDNT_NATIONALITY>sample string 10</STDNT_NATIONALITY> <STDNT_PARANT_ID>4</STDNT_PARANT_ID> <STDNT_PERM_ADDR>sample string 20</STDNT_PERM_ADDR> <STDNT_PREVIOUS_SCHOOL>sample string 12</STDNT_PREVIOUS_SCHOOL> <STDNT_REGISTRATION_ID>sample string 24</STDNT_REGISTRATION_ID> <STDNT_REG_BY_ID>6</STDNT_REG_BY_ID> <STDNT_REG_BY_TYPE>sample string 7</STDNT_REG_BY_TYPE> <STDNT_REG_DATE>2025-01-09T01:35:00.2093751+05:00</STDNT_REG_DATE> <STDNT_RELIGION>sample string 11</STDNT_RELIGION> <STDNT_REMARKS>sample string 28</STDNT_REMARKS> <STDNT_SCHOLARSHIP_ID>1</STDNT_SCHOLARSHIP_ID> <STDNT_SCHOOL_ID>sample string 23</STDNT_SCHOOL_ID> <STDNT_SESSION_ID>1</STDNT_SESSION_ID> <STDNT_SHORT_NAME>sample string 38</STDNT_SHORT_NAME> <STDNT_STATUS>sample string 22</STDNT_STATUS> <STDNT_TEMP_ADDR>sample string 19</STDNT_TEMP_ADDR> <STDNT_TRANSPORT_MODE>sample string 21</STDNT_TRANSPORT_MODE> <STDNT_WITH_DRAW_NO>sample string 26</STDNT_WITH_DRAW_NO> <SessionId>37</SessionId> <StudentSubjectCompulsory xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:decimal>1</d3p1:decimal> <d3p1:decimal>2</d3p1:decimal> </StudentSubjectCompulsory> <StudentSubjectCompulsoryTermId>31</StudentSubjectCompulsoryTermId> <StudentSubjectOptional xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:decimal>1</d3p1:decimal> <d3p1:decimal>2</d3p1:decimal> </StudentSubjectOptional> <StudentSubjectOptionalTermId>32</StudentSubjectOptionalTermId> <USER_STATUS>sample string 30</USER_STATUS> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2025-01-09T01:35:00.2093751+05:00</UpdatedDate> </Student> </StdInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |