POST api/Students/savePreRegstration

Request Information

URI Parameters

None.

Body Parameters

StudentRecords
NameDescriptionTypeAdditional information
Student

Student

None.

StudentDetail

StudentDetail

None.

StudentExDetail

StudentExDetail

None.

StudentExDetailMore

StudentExDetailMore

None.

StudentAge

StudentAge

None.

preregstrationdetail

preregstrationdetail

None.

PreRegistrationAttachments

Collection of PreRegistrationAttachment

None.

flgDirectlyRegisterForNextYear

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Student": {
    "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"
  },
  "StudentDetail": {
    "id": 1,
    "studentid": "sample string 2",
    "phonenumber": "sample string 3",
    "mothersphonenumber": "sample string 4",
    "fathersphonenumber": "sample string 5",
    "address": "sample string 6"
  },
  "StudentExDetail": {
    "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"
  },
  "StudentExDetailMore": {
    "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"
  },
  "StudentAge": {
    "id": 1,
    "studentid": "sample string 2",
    "age": "sample string 3",
    "dobday": "sample string 4",
    "dobmoth": "sample string 5",
    "dobyear": "sample string 6"
  },
  "preregstrationdetail": {
    "id": 1,
    "studentid": "sample string 2",
    "preregid": 3,
    "lotterycode": "sample string 4",
    "islotterycode": true,
    "hassibling": true,
    "tookenterenceexam": true
  },
  "PreRegistrationAttachments": [
    {
      "ID": 1,
      "StudentId": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "StorageFileName": "sample string 5",
      "UploadedDate": "2025-11-08T14:41:17.7229709+01:00",
      "Checked": "sample string 7",
      "CheckedByUserName": "sample string 8",
      "CheckedDate": "2025-11-08T14:41:17.7229709+01:00"
    },
    {
      "ID": 1,
      "StudentId": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "StorageFileName": "sample string 5",
      "UploadedDate": "2025-11-08T14:41:17.7229709+01:00",
      "Checked": "sample string 7",
      "CheckedByUserName": "sample string 8",
      "CheckedDate": "2025-11-08T14:41:17.7229709+01:00"
    }
  ],
  "flgDirectlyRegisterForNextYear": true
}

application/xml, text/xml

Sample:
<StudentRecords xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.webapi.Controllers">
  <PreRegistrationAttachments xmlns:d2p1="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.models">
    <d2p1:PreRegistrationAttachment>
      <d2p1:Checked>sample string 7</d2p1:Checked>
      <d2p1:CheckedByUserName>sample string 8</d2p1:CheckedByUserName>
      <d2p1:CheckedDate>2025-11-08T14:41:17.7229709+01:00</d2p1:CheckedDate>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:StorageFileName>sample string 5</d2p1:StorageFileName>
      <d2p1:StudentId>sample string 2</d2p1:StudentId>
      <d2p1:UploadedDate>2025-11-08T14:41:17.7229709+01:00</d2p1:UploadedDate>
    </d2p1:PreRegistrationAttachment>
    <d2p1:PreRegistrationAttachment>
      <d2p1:Checked>sample string 7</d2p1:Checked>
      <d2p1:CheckedByUserName>sample string 8</d2p1:CheckedByUserName>
      <d2p1:CheckedDate>2025-11-08T14:41:17.7229709+01:00</d2p1:CheckedDate>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:StorageFileName>sample string 5</d2p1:StorageFileName>
      <d2p1:StudentId>sample string 2</d2p1:StudentId>
      <d2p1:UploadedDate>2025-11-08T14:41:17.7229709+01:00</d2p1:UploadedDate>
    </d2p1:PreRegistrationAttachment>
  </PreRegistrationAttachments>
  <Student 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>
  </Student>
  <StudentAge xmlns:d2p1="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.models">
    <d2p1:age>sample string 3</d2p1:age>
    <d2p1:dobday>sample string 4</d2p1:dobday>
    <d2p1:dobmoth>sample string 5</d2p1:dobmoth>
    <d2p1:dobyear>sample string 6</d2p1:dobyear>
    <d2p1:id>1</d2p1:id>
    <d2p1:studentid>sample string 2</d2p1:studentid>
  </StudentAge>
  <StudentDetail 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>
  </StudentDetail>
  <StudentExDetail 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>
  </StudentExDetail>
  <StudentExDetailMore 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>
  </StudentExDetailMore>
  <flgDirectlyRegisterForNextYear>true</flgDirectlyRegisterForNextYear>
  <preregstrationdetail xmlns:d2p1="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.models">
    <d2p1:hassibling>true</d2p1:hassibling>
    <d2p1:id>1</d2p1:id>
    <d2p1:islotterycode>true</d2p1:islotterycode>
    <d2p1:lotterycode>sample string 4</d2p1:lotterycode>
    <d2p1:preregid>3</d2p1:preregid>
    <d2p1:studentid>sample string 2</d2p1:studentid>
    <d2p1:tookenterenceexam>true</d2p1:tookenterenceexam>
  </preregstrationdetail>
</StudentRecords>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>