POST api/Students/UpdatePreregistration

Request Information

URI Parameters

None.

Body Parameters

preregstration
NameDescriptionTypeAdditional information
id

integer

None.

studentid

string

None.

branch

string

None.

grade

string

None.

section

string

None.

academicyear

string

None.

regdate

date

None.

tag

string

None.

isnew

string

None.

laststatus

string

None.

laststatusdatetime

date

None.

Selected

boolean

None.

ActionInProgress

boolean

None.

student

Student

None.

LastPreRegStatus

Preregstatus

None.

flgDirectlyAddRegistration

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Selected": true,
  "ActionInProgress": true,
  "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"
  },
  "LastPreRegStatus": {
    "name": "sample string 1",
    "ordernumber": 2,
    "id": 1,
    "studentid": "sample string 2",
    "preregistrationid": "sample string 3",
    "preregstatusnameid": 4,
    "dateadded": "2025-11-08T14:40:54.4684185+01:00",
    "userid": "sample string 6",
    "note": "sample string 7"
  },
  "flgDirectlyAddRegistration": true,
  "id": 1,
  "studentid": "sample string 2",
  "branch": "sample string 3",
  "grade": "sample string 4",
  "section": "sample string 5",
  "academicyear": "sample string 6",
  "regdate": "2025-11-08T14:40:54.4674183+01:00",
  "tag": "sample string 8",
  "isnew": "sample string 9",
  "laststatus": "sample string 10",
  "laststatusdatetime": "2025-11-08T14:40:54.4674183+01:00"
}

application/xml, text/xml

Sample:
<preregstration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.models">
  <ActionInProgress>true</ActionInProgress>
  <LastPreRegStatus>
    <dateadded>2025-11-08T14:40:54.4684185+01:00</dateadded>
    <id>1</id>
    <name>sample string 1</name>
    <note>sample string 7</note>
    <ordernumber>2</ordernumber>
    <preregistrationid>sample string 3</preregistrationid>
    <preregstatusnameid>4</preregstatusnameid>
    <studentid>sample string 2</studentid>
    <userid>sample string 6</userid>
  </LastPreRegStatus>
  <Selected>true</Selected>
  <academicyear>sample string 6</academicyear>
  <branch>sample string 3</branch>
  <flgDirectlyAddRegistration>true</flgDirectlyAddRegistration>
  <grade>sample string 4</grade>
  <id>1</id>
  <isnew>sample string 9</isnew>
  <laststatus>sample string 10</laststatus>
  <laststatusdatetime>2025-11-08T14:40:54.4674183+01:00</laststatusdatetime>
  <regdate>2025-11-08T14:40:54.4674183+01:00</regdate>
  <section>sample string 5</section>
  <student>
    <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>
  <studentid>sample string 2</studentid>
  <tag>sample string 8</tag>
</preregstration>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.