POST api/Students/GetStudentByStudentID
Request Information
URI Parameters
None.
Body Parameters
Student| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| currentenrolledyear | string |
None. |
|
| studentid | string |
None. |
|
| enrolleddate | string |
None. |
|
| firstname | string |
None. |
|
| middlename | string |
None. |
|
| lastname | string |
None. |
|
| dob | string |
None. |
|
| fathersname | string |
None. |
|
| mothersname | string |
None. |
|
| branch | string |
None. |
|
| grade | string |
None. |
|
| section | string |
None. |
|
| gender | string |
None. |
|
| antiregistrationObj | antiregistrations |
None. |
|
| StudentDetailObj | StudentDetail |
None. |
|
| StudentExDetailMoreObj | StudentExDetailMore |
None. |
|
| StudentExDetailObj | StudentExDetail |
None. |
|
| PersonPhoto | PersonPhoto |
None. |
Request Formats
application/json, text/json
Sample:
{
"antiregistrationObj": {
"id": 1,
"studentid": "sample string 2",
"code1": "sample string 3",
"code1Desc": "001: Restricted or Exelled",
"code2": "sample string 4",
"code2Desc": "002: Retained, Failed",
"code3": "sample string 5",
"code3Desc": "003: Conduct 2C+",
"code4": "sample string 6",
"code4Desc": "004: Excessive Absence",
"code5": "sample string 7",
"code5Desc": "005: Excessive Lateness",
"code6": "sample string 8",
"code6Desc": "006: Disrespectful Parents",
"code7": "sample string 9",
"code7Desc": "007: Suspected Tutor",
"code8": "sample string 10",
"code8Desc": "008: Special Cases",
"code9": "sample string 11",
"code10": "sample string 12",
"code11": "sample string 13",
"code12": "sample string 14"
},
"StudentDetailObj": {
"id": 1,
"studentid": "sample string 2",
"phonenumber": "sample string 3",
"mothersphonenumber": "sample string 4",
"fathersphonenumber": "sample string 5",
"address": "sample string 6"
},
"StudentExDetailMoreObj": {
"id": 1,
"studentid": "sample string 2",
"kifleketema": "sample string 3",
"woreda": "sample string 4",
"housenumber": "sample string 5",
"countryofbirth": "sample string 6",
"passportnationality": "sample string 7",
"plid": "sample string 8",
"gohomealone": "sample string 9",
"fatherworkplace": "sample string 10",
"fathercity": "sample string 11",
"fatherofficenumber": "sample string 12",
"fatheremailaddress": "sample string 13",
"motherworkplace": "sample string 14",
"mothercity": "sample string 15",
"motherofficenumber": "sample string 16",
"motheremailaddress": "sample string 17",
"emergencyrelationship": "sample string 18",
"pickuprelationship": "sample string 19",
"emailaddress": "sample string 20"
},
"StudentExDetailObj": {
"id": 1,
"studentid": "sample string 2",
"emergencycontactname": "sample string 3",
"emergencycontactnumber": "sample string 4",
"guardianname": "sample string 5",
"guardiannumber": "sample string 6",
"pickuppersonname": "sample string 7",
"pickuppersonnumber": "sample string 8"
},
"PersonPhoto": {
"id": 1,
"personid": "sample string 2",
"photoUrl": "sample string 3",
"tag": "sample string 4"
},
"id": 1,
"currentenrolledyear": "sample string 2",
"studentid": "sample string 3",
"enrolleddate": "sample string 4",
"firstname": "sample string 5",
"middlename": "sample string 6",
"lastname": "sample string 7",
"dob": "sample string 8",
"fathersname": "sample string 9",
"mothersname": "sample string 10",
"branch": "sample string 11",
"grade": "sample string 12",
"section": "sample string 13",
"gender": "sample string 14"
}
application/xml, text/xml
Sample:
<Student xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.models">
<PersonPhoto>
<id>1</id>
<personid>sample string 2</personid>
<photoUrl>sample string 3</photoUrl>
<tag>sample string 4</tag>
</PersonPhoto>
<StudentDetailObj>
<address>sample string 6</address>
<fathersphonenumber>sample string 5</fathersphonenumber>
<id>1</id>
<mothersphonenumber>sample string 4</mothersphonenumber>
<phonenumber>sample string 3</phonenumber>
<studentid>sample string 2</studentid>
</StudentDetailObj>
<StudentExDetailMoreObj>
<countryofbirth>sample string 6</countryofbirth>
<emailaddress>sample string 20</emailaddress>
<emergencyrelationship>sample string 18</emergencyrelationship>
<fathercity>sample string 11</fathercity>
<fatheremailaddress>sample string 13</fatheremailaddress>
<fatherofficenumber>sample string 12</fatherofficenumber>
<fatherworkplace>sample string 10</fatherworkplace>
<gohomealone>sample string 9</gohomealone>
<housenumber>sample string 5</housenumber>
<id>1</id>
<kifleketema>sample string 3</kifleketema>
<mothercity>sample string 15</mothercity>
<motheremailaddress>sample string 17</motheremailaddress>
<motherofficenumber>sample string 16</motherofficenumber>
<motherworkplace>sample string 14</motherworkplace>
<passportnationality>sample string 7</passportnationality>
<pickuprelationship>sample string 19</pickuprelationship>
<plid>sample string 8</plid>
<studentid>sample string 2</studentid>
<woreda>sample string 4</woreda>
</StudentExDetailMoreObj>
<StudentExDetailObj>
<emergencycontactname>sample string 3</emergencycontactname>
<emergencycontactnumber>sample string 4</emergencycontactnumber>
<guardianname>sample string 5</guardianname>
<guardiannumber>sample string 6</guardiannumber>
<id>1</id>
<pickuppersonname>sample string 7</pickuppersonname>
<pickuppersonnumber>sample string 8</pickuppersonnumber>
<studentid>sample string 2</studentid>
</StudentExDetailObj>
<antiregistrationObj>
<code1>sample string 3</code1>
<code10>sample string 12</code10>
<code11>sample string 13</code11>
<code12>sample string 14</code12>
<code2>sample string 4</code2>
<code3>sample string 5</code3>
<code4>sample string 6</code4>
<code5>sample string 7</code5>
<code6>sample string 8</code6>
<code7>sample string 9</code7>
<code8>sample string 10</code8>
<code9>sample string 11</code9>
<id>1</id>
<studentid>sample string 2</studentid>
</antiregistrationObj>
<branch>sample string 11</branch>
<currentenrolledyear>sample string 2</currentenrolledyear>
<dob>sample string 8</dob>
<enrolleddate>sample string 4</enrolleddate>
<fathersname>sample string 9</fathersname>
<firstname>sample string 5</firstname>
<gender>sample string 14</gender>
<grade>sample string 12</grade>
<id>1</id>
<lastname>sample string 7</lastname>
<middlename>sample string 6</middlename>
<mothersname>sample string 10</mothersname>
<section>sample string 13</section>
<studentid>sample string 3</studentid>
</Student>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.