POST api/Students/updateStudentDetail

Request Information

URI Parameters

None.

Body Parameters

Collection of StudentWithDetail
NameDescriptionTypeAdditional information
student

Student

None.

studentdetail

StudentDetail

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"
    }
  },
  {
    "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"
    }
  }
]

application/xml, text/xml

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

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.