POST api/Profile/GetStudentModel

Request Information

URI Parameters

None.

Body Parameters

BgsInfo
NameDescriptionTypeAdditional information
Branch

string

None.

Section

string

None.

Grade

string

None.

AcademicYear

string

None.

StudentID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Branch": "sample string 1",
  "Section": "sample string 2",
  "Grade": "sample string 3",
  "AcademicYear": "sample string 4",
  "StudentID": "sample string 5"
}

application/xml, text/xml

Sample:
<BgsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.webapi.Controllers">
  <AcademicYear>sample string 4</AcademicYear>
  <Branch>sample string 1</Branch>
  <Grade>sample string 3</Grade>
  <Section>sample string 2</Section>
  <StudentID>sample string 5</StudentID>
</BgsInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StudentModel
NameDescriptionTypeAdditional information
StudentObj

Student

None.

StudentDetailObj

StudentDetail

None.

StudentExDetailObj

StudentExDetail

None.

StudentExDetailMoreObj

StudentExDetailMore

None.

Response Formats

application/json, text/json

Sample:
{
  "StudentObj": {
    "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"
  },
  "StudentDetailObj": {
    "id": 1,
    "studentid": "sample string 2",
    "phonenumber": "sample string 3",
    "mothersphonenumber": "sample string 4",
    "fathersphonenumber": "sample string 5",
    "address": "sample string 6"
  },
  "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"
  },
  "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"
  }
}

application/xml, text/xml

Sample:
<StudentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.webapi.Controllers">
  <StudentDetailObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.models">
    <d2p1:address>sample string 6</d2p1:address>
    <d2p1:fathersphonenumber>sample string 5</d2p1:fathersphonenumber>
    <d2p1:id>1</d2p1:id>
    <d2p1:mothersphonenumber>sample string 4</d2p1:mothersphonenumber>
    <d2p1:phonenumber>sample string 3</d2p1:phonenumber>
    <d2p1:studentid>sample string 2</d2p1:studentid>
  </StudentDetailObj>
  <StudentExDetailMoreObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.models">
    <d2p1:countryofbirth>sample string 6</d2p1:countryofbirth>
    <d2p1:emailaddress>sample string 20</d2p1:emailaddress>
    <d2p1:emergencyrelationship>sample string 18</d2p1:emergencyrelationship>
    <d2p1:fathercity>sample string 11</d2p1:fathercity>
    <d2p1:fatheremailaddress>sample string 13</d2p1:fatheremailaddress>
    <d2p1:fatherofficenumber>sample string 12</d2p1:fatherofficenumber>
    <d2p1:fatherworkplace>sample string 10</d2p1:fatherworkplace>
    <d2p1:gohomealone>sample string 9</d2p1:gohomealone>
    <d2p1:housenumber>sample string 5</d2p1:housenumber>
    <d2p1:id>1</d2p1:id>
    <d2p1:kifleketema>sample string 3</d2p1:kifleketema>
    <d2p1:mothercity>sample string 15</d2p1:mothercity>
    <d2p1:motheremailaddress>sample string 17</d2p1:motheremailaddress>
    <d2p1:motherofficenumber>sample string 16</d2p1:motherofficenumber>
    <d2p1:motherworkplace>sample string 14</d2p1:motherworkplace>
    <d2p1:passportnationality>sample string 7</d2p1:passportnationality>
    <d2p1:pickuprelationship>sample string 19</d2p1:pickuprelationship>
    <d2p1:plid>sample string 8</d2p1:plid>
    <d2p1:studentid>sample string 2</d2p1:studentid>
    <d2p1:woreda>sample string 4</d2p1:woreda>
  </StudentExDetailMoreObj>
  <StudentExDetailObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.models">
    <d2p1:emergencycontactname>sample string 3</d2p1:emergencycontactname>
    <d2p1:emergencycontactnumber>sample string 4</d2p1:emergencycontactnumber>
    <d2p1:guardianname>sample string 5</d2p1:guardianname>
    <d2p1:guardiannumber>sample string 6</d2p1:guardiannumber>
    <d2p1:id>1</d2p1:id>
    <d2p1:pickuppersonname>sample string 7</d2p1:pickuppersonname>
    <d2p1:pickuppersonnumber>sample string 8</d2p1:pickuppersonnumber>
    <d2p1:studentid>sample string 2</d2p1:studentid>
  </StudentExDetailObj>
  <StudentObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.models">
    <d2p1:PersonPhoto>
      <d2p1:id>1</d2p1:id>
      <d2p1:personid>sample string 2</d2p1:personid>
      <d2p1:photoUrl>sample string 3</d2p1:photoUrl>
      <d2p1:tag>sample string 4</d2p1:tag>
    </d2p1:PersonPhoto>
    <d2p1:StudentDetailObj>
      <d2p1:address>sample string 6</d2p1:address>
      <d2p1:fathersphonenumber>sample string 5</d2p1:fathersphonenumber>
      <d2p1:id>1</d2p1:id>
      <d2p1:mothersphonenumber>sample string 4</d2p1:mothersphonenumber>
      <d2p1:phonenumber>sample string 3</d2p1:phonenumber>
      <d2p1:studentid>sample string 2</d2p1:studentid>
    </d2p1:StudentDetailObj>
    <d2p1:StudentExDetailMoreObj>
      <d2p1:countryofbirth>sample string 6</d2p1:countryofbirth>
      <d2p1:emailaddress>sample string 20</d2p1:emailaddress>
      <d2p1:emergencyrelationship>sample string 18</d2p1:emergencyrelationship>
      <d2p1:fathercity>sample string 11</d2p1:fathercity>
      <d2p1:fatheremailaddress>sample string 13</d2p1:fatheremailaddress>
      <d2p1:fatherofficenumber>sample string 12</d2p1:fatherofficenumber>
      <d2p1:fatherworkplace>sample string 10</d2p1:fatherworkplace>
      <d2p1:gohomealone>sample string 9</d2p1:gohomealone>
      <d2p1:housenumber>sample string 5</d2p1:housenumber>
      <d2p1:id>1</d2p1:id>
      <d2p1:kifleketema>sample string 3</d2p1:kifleketema>
      <d2p1:mothercity>sample string 15</d2p1:mothercity>
      <d2p1:motheremailaddress>sample string 17</d2p1:motheremailaddress>
      <d2p1:motherofficenumber>sample string 16</d2p1:motherofficenumber>
      <d2p1:motherworkplace>sample string 14</d2p1:motherworkplace>
      <d2p1:passportnationality>sample string 7</d2p1:passportnationality>
      <d2p1:pickuprelationship>sample string 19</d2p1:pickuprelationship>
      <d2p1:plid>sample string 8</d2p1:plid>
      <d2p1:studentid>sample string 2</d2p1:studentid>
      <d2p1:woreda>sample string 4</d2p1:woreda>
    </d2p1:StudentExDetailMoreObj>
    <d2p1:StudentExDetailObj>
      <d2p1:emergencycontactname>sample string 3</d2p1:emergencycontactname>
      <d2p1:emergencycontactnumber>sample string 4</d2p1:emergencycontactnumber>
      <d2p1:guardianname>sample string 5</d2p1:guardianname>
      <d2p1:guardiannumber>sample string 6</d2p1:guardiannumber>
      <d2p1:id>1</d2p1:id>
      <d2p1:pickuppersonname>sample string 7</d2p1:pickuppersonname>
      <d2p1:pickuppersonnumber>sample string 8</d2p1:pickuppersonnumber>
      <d2p1:studentid>sample string 2</d2p1:studentid>
    </d2p1:StudentExDetailObj>
    <d2p1:antiregistrationObj>
      <d2p1:code1>sample string 3</d2p1:code1>
      <d2p1:code10>sample string 12</d2p1:code10>
      <d2p1:code11>sample string 13</d2p1:code11>
      <d2p1:code12>sample string 14</d2p1:code12>
      <d2p1:code2>sample string 4</d2p1:code2>
      <d2p1:code3>sample string 5</d2p1:code3>
      <d2p1:code4>sample string 6</d2p1:code4>
      <d2p1:code5>sample string 7</d2p1:code5>
      <d2p1:code6>sample string 8</d2p1:code6>
      <d2p1:code7>sample string 9</d2p1:code7>
      <d2p1:code8>sample string 10</d2p1:code8>
      <d2p1:code9>sample string 11</d2p1:code9>
      <d2p1:id>1</d2p1:id>
      <d2p1:studentid>sample string 2</d2p1:studentid>
    </d2p1:antiregistrationObj>
    <d2p1:branch>sample string 11</d2p1:branch>
    <d2p1:currentenrolledyear>sample string 2</d2p1:currentenrolledyear>
    <d2p1:dob>sample string 8</d2p1:dob>
    <d2p1:enrolleddate>sample string 4</d2p1:enrolleddate>
    <d2p1:fathersname>sample string 9</d2p1:fathersname>
    <d2p1:firstname>sample string 5</d2p1:firstname>
    <d2p1:gender>sample string 14</d2p1:gender>
    <d2p1:grade>sample string 12</d2p1:grade>
    <d2p1:id>1</d2p1:id>
    <d2p1:lastname>sample string 7</d2p1:lastname>
    <d2p1:middlename>sample string 6</d2p1:middlename>
    <d2p1:mothersname>sample string 10</d2p1:mothersname>
    <d2p1:section>sample string 13</d2p1:section>
    <d2p1:studentid>sample string 3</d2p1:studentid>
  </StudentObj>
</StudentModel>