POST api/UpdateStudent

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objStudent
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "StudentAccountID": 1,
  "StudentID": 2,
  "EnrollmentNo": "sample string 3",
  "EnrollmentDate": "sample string 4",
  "FirstName": "sample string 5",
  "MiddleName": "sample string 6",
  "LastName": "sample string 7",
  "Gender": "sample string 8",
  "DOB": "sample string 9",
  "MobileNo": "sample string 10",
  "PhoneNo": "sample string 11",
  "Email": "sample string 12",
  "FatherName": "sample string 13",
  "FatherMobile": "sample string 14",
  "FatherOccupation": "sample string 15",
  "FatherEmail": "sample string 16",
  "Aadhar": "sample string 17",
  "Address": "sample string 18",
  "Landmark": "sample string 19",
  "CityID": 1,
  "Pincode": "sample string 20",
  "Caste": "sample string 21",
  "School": "sample string 22",
  "PhotoUrl": "sample string 23",
  "Medium": "sample string 24",
  "SessionID": 25,
  "Session": "sample string 26",
  "CourseID": 27,
  "Course": "sample string 28",
  "StreamID": 29,
  "Stream": "sample string 30",
  "BatchID": 31,
  "Batch": "sample string 32",
  "DeviceToken": "sample string 33",
  "FatherDeviceToken": "sample string 34",
  "ModeID": 35,
  "FeesTypeId": 1,
  "LumpsumAmount": "sample string 36",
  "LumpsumDate": "sample string 37",
  "LumpsumStatus": true,
  "LumpsumDiscount": "sample string 39",
  "LumpsumFees": "sample string 40",
  "AttendenceList": [
    {
      "AttendanceId": 1,
      "PunchDate": "sample string 2",
      "PunchIn": "sample string 3",
      "PunchOut": "sample string 4",
      "ArrivalDeparture": "sample string 5",
      "Status": "sample string 6",
      "IsArrivalSMS": true,
      "IsDepartureSMS": true,
      "CenterName": "sample string 9",
      "StudentID": 10,
      "EnrollmentNo": "sample string 11",
      "FirstName": "sample string 12",
      "LastName": "sample string 13",
      "MobileNumber": "sample string 14",
      "StreamID": 15,
      "CourseID": 16,
      "BatchID": 17,
      "StreamName": "sample string 18",
      "CourseName": "sample string 19",
      "BatchName": "sample string 20",
      "FatherName": "sample string 21",
      "FatherMobile": "sample string 22",
      "DeviceToken": "sample string 23",
      "FatherDeviceToken": "sample string 24"
    },
    {
      "AttendanceId": 1,
      "PunchDate": "sample string 2",
      "PunchIn": "sample string 3",
      "PunchOut": "sample string 4",
      "ArrivalDeparture": "sample string 5",
      "Status": "sample string 6",
      "IsArrivalSMS": true,
      "IsDepartureSMS": true,
      "CenterName": "sample string 9",
      "StudentID": 10,
      "EnrollmentNo": "sample string 11",
      "FirstName": "sample string 12",
      "LastName": "sample string 13",
      "MobileNumber": "sample string 14",
      "StreamID": 15,
      "CourseID": 16,
      "BatchID": 17,
      "StreamName": "sample string 18",
      "CourseName": "sample string 19",
      "BatchName": "sample string 20",
      "FatherName": "sample string 21",
      "FatherMobile": "sample string 22",
      "DeviceToken": "sample string 23",
      "FatherDeviceToken": "sample string 24"
    },
    {
      "AttendanceId": 1,
      "PunchDate": "sample string 2",
      "PunchIn": "sample string 3",
      "PunchOut": "sample string 4",
      "ArrivalDeparture": "sample string 5",
      "Status": "sample string 6",
      "IsArrivalSMS": true,
      "IsDepartureSMS": true,
      "CenterName": "sample string 9",
      "StudentID": 10,
      "EnrollmentNo": "sample string 11",
      "FirstName": "sample string 12",
      "LastName": "sample string 13",
      "MobileNumber": "sample string 14",
      "StreamID": 15,
      "CourseID": 16,
      "BatchID": 17,
      "StreamName": "sample string 18",
      "CourseName": "sample string 19",
      "BatchName": "sample string 20",
      "FatherName": "sample string 21",
      "FatherMobile": "sample string 22",
      "DeviceToken": "sample string 23",
      "FatherDeviceToken": "sample string 24"
    }
  ]
}

text/html

Sample:
{"StudentAccountID":1,"StudentID":2,"EnrollmentNo":"sample string 3","EnrollmentDate":"sample string 4","FirstName":"sample string 5","MiddleName":"sample string 6","LastName":"sample string 7","Gender":"sample string 8","DOB":"sample string 9","MobileNo":"sample string 10","PhoneNo":"sample string 11","Email":"sample string 12","FatherName":"sample string 13","FatherMobile":"sample string 14","FatherOccupation":"sample string 15","FatherEmail":"sample string 16","Aadhar":"sample string 17","Address":"sample string 18","Landmark":"sample string 19","CityID":1,"Pincode":"sample string 20","Caste":"sample string 21","School":"sample string 22","PhotoUrl":"sample string 23","Medium":"sample string 24","SessionID":25,"Session":"sample string 26","CourseID":27,"Course":"sample string 28","StreamID":29,"Stream":"sample string 30","BatchID":31,"Batch":"sample string 32","DeviceToken":"sample string 33","FatherDeviceToken":"sample string 34","ModeID":35,"FeesTypeId":1,"LumpsumAmount":"sample string 36","LumpsumDate":"sample string 37","LumpsumStatus":true,"LumpsumDiscount":"sample string 39","LumpsumFees":"sample string 40","AttendenceList":[{"AttendanceId":1,"PunchDate":"sample string 2","PunchIn":"sample string 3","PunchOut":"sample string 4","ArrivalDeparture":"sample string 5","Status":"sample string 6","IsArrivalSMS":true,"IsDepartureSMS":true,"CenterName":"sample string 9","StudentID":10,"EnrollmentNo":"sample string 11","FirstName":"sample string 12","LastName":"sample string 13","MobileNumber":"sample string 14","StreamID":15,"CourseID":16,"BatchID":17,"StreamName":"sample string 18","CourseName":"sample string 19","BatchName":"sample string 20","FatherName":"sample string 21","FatherMobile":"sample string 22","DeviceToken":"sample string 23","FatherDeviceToken":"sample string 24"},{"AttendanceId":1,"PunchDate":"sample string 2","PunchIn":"sample string 3","PunchOut":"sample string 4","ArrivalDeparture":"sample string 5","Status":"sample string 6","IsArrivalSMS":true,"IsDepartureSMS":true,"CenterName":"sample string 9","StudentID":10,"EnrollmentNo":"sample string 11","FirstName":"sample string 12","LastName":"sample string 13","MobileNumber":"sample string 14","StreamID":15,"CourseID":16,"BatchID":17,"StreamName":"sample string 18","CourseName":"sample string 19","BatchName":"sample string 20","FatherName":"sample string 21","FatherMobile":"sample string 22","DeviceToken":"sample string 23","FatherDeviceToken":"sample string 24"},{"AttendanceId":1,"PunchDate":"sample string 2","PunchIn":"sample string 3","PunchOut":"sample string 4","ArrivalDeparture":"sample string 5","Status":"sample string 6","IsArrivalSMS":true,"IsDepartureSMS":true,"CenterName":"sample string 9","StudentID":10,"EnrollmentNo":"sample string 11","FirstName":"sample string 12","LastName":"sample string 13","MobileNumber":"sample string 14","StreamID":15,"CourseID":16,"BatchID":17,"StreamName":"sample string 18","CourseName":"sample string 19","BatchName":"sample string 20","FatherName":"sample string 21","FatherMobile":"sample string 22","DeviceToken":"sample string 23","FatherDeviceToken":"sample string 24"}]}

application/xml, text/xml

Sample:
<StudentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Student">
  <Aadhar>sample string 17</Aadhar>
  <Address>sample string 18</Address>
  <AttendenceList xmlns:d2p1="http://schemas.datacontract.org/2004/07/ViewModels">
    <d2p1:Attendance>
      <d2p1:ArrivalDeparture>sample string 5</d2p1:ArrivalDeparture>
      <d2p1:AttendanceId>1</d2p1:AttendanceId>
      <d2p1:BatchID>17</d2p1:BatchID>
      <d2p1:BatchName>sample string 20</d2p1:BatchName>
      <d2p1:CenterName>sample string 9</d2p1:CenterName>
      <d2p1:CourseID>16</d2p1:CourseID>
      <d2p1:CourseName>sample string 19</d2p1:CourseName>
      <d2p1:DeviceToken>sample string 23</d2p1:DeviceToken>
      <d2p1:EnrollmentNo>sample string 11</d2p1:EnrollmentNo>
      <d2p1:FatherDeviceToken>sample string 24</d2p1:FatherDeviceToken>
      <d2p1:FatherMobile>sample string 22</d2p1:FatherMobile>
      <d2p1:FatherName>sample string 21</d2p1:FatherName>
      <d2p1:FirstName>sample string 12</d2p1:FirstName>
      <d2p1:IsArrivalSMS>true</d2p1:IsArrivalSMS>
      <d2p1:IsDepartureSMS>true</d2p1:IsDepartureSMS>
      <d2p1:LastName>sample string 13</d2p1:LastName>
      <d2p1:MobileNumber>sample string 14</d2p1:MobileNumber>
      <d2p1:PunchDate>sample string 2</d2p1:PunchDate>
      <d2p1:PunchIn>sample string 3</d2p1:PunchIn>
      <d2p1:PunchOut>sample string 4</d2p1:PunchOut>
      <d2p1:Status>sample string 6</d2p1:Status>
      <d2p1:StreamID>15</d2p1:StreamID>
      <d2p1:StreamName>sample string 18</d2p1:StreamName>
      <d2p1:StudentID>10</d2p1:StudentID>
    </d2p1:Attendance>
    <d2p1:Attendance>
      <d2p1:ArrivalDeparture>sample string 5</d2p1:ArrivalDeparture>
      <d2p1:AttendanceId>1</d2p1:AttendanceId>
      <d2p1:BatchID>17</d2p1:BatchID>
      <d2p1:BatchName>sample string 20</d2p1:BatchName>
      <d2p1:CenterName>sample string 9</d2p1:CenterName>
      <d2p1:CourseID>16</d2p1:CourseID>
      <d2p1:CourseName>sample string 19</d2p1:CourseName>
      <d2p1:DeviceToken>sample string 23</d2p1:DeviceToken>
      <d2p1:EnrollmentNo>sample string 11</d2p1:EnrollmentNo>
      <d2p1:FatherDeviceToken>sample string 24</d2p1:FatherDeviceToken>
      <d2p1:FatherMobile>sample string 22</d2p1:FatherMobile>
      <d2p1:FatherName>sample string 21</d2p1:FatherName>
      <d2p1:FirstName>sample string 12</d2p1:FirstName>
      <d2p1:IsArrivalSMS>true</d2p1:IsArrivalSMS>
      <d2p1:IsDepartureSMS>true</d2p1:IsDepartureSMS>
      <d2p1:LastName>sample string 13</d2p1:LastName>
      <d2p1:MobileNumber>sample string 14</d2p1:MobileNumber>
      <d2p1:PunchDate>sample string 2</d2p1:PunchDate>
      <d2p1:PunchIn>sample string 3</d2p1:PunchIn>
      <d2p1:PunchOut>sample string 4</d2p1:PunchOut>
      <d2p1:Status>sample string 6</d2p1:Status>
      <d2p1:StreamID>15</d2p1:StreamID>
      <d2p1:StreamName>sample string 18</d2p1:StreamName>
      <d2p1:StudentID>10</d2p1:StudentID>
    </d2p1:Attendance>
    <d2p1:Attendance>
      <d2p1:ArrivalDeparture>sample string 5</d2p1:ArrivalDeparture>
      <d2p1:AttendanceId>1</d2p1:AttendanceId>
      <d2p1:BatchID>17</d2p1:BatchID>
      <d2p1:BatchName>sample string 20</d2p1:BatchName>
      <d2p1:CenterName>sample string 9</d2p1:CenterName>
      <d2p1:CourseID>16</d2p1:CourseID>
      <d2p1:CourseName>sample string 19</d2p1:CourseName>
      <d2p1:DeviceToken>sample string 23</d2p1:DeviceToken>
      <d2p1:EnrollmentNo>sample string 11</d2p1:EnrollmentNo>
      <d2p1:FatherDeviceToken>sample string 24</d2p1:FatherDeviceToken>
      <d2p1:FatherMobile>sample string 22</d2p1:FatherMobile>
      <d2p1:FatherName>sample string 21</d2p1:FatherName>
      <d2p1:FirstName>sample string 12</d2p1:FirstName>
      <d2p1:IsArrivalSMS>true</d2p1:IsArrivalSMS>
      <d2p1:IsDepartureSMS>true</d2p1:IsDepartureSMS>
      <d2p1:LastName>sample string 13</d2p1:LastName>
      <d2p1:MobileNumber>sample string 14</d2p1:MobileNumber>
      <d2p1:PunchDate>sample string 2</d2p1:PunchDate>
      <d2p1:PunchIn>sample string 3</d2p1:PunchIn>
      <d2p1:PunchOut>sample string 4</d2p1:PunchOut>
      <d2p1:Status>sample string 6</d2p1:Status>
      <d2p1:StreamID>15</d2p1:StreamID>
      <d2p1:StreamName>sample string 18</d2p1:StreamName>
      <d2p1:StudentID>10</d2p1:StudentID>
    </d2p1:Attendance>
  </AttendenceList>
  <Batch>sample string 32</Batch>
  <BatchID>31</BatchID>
  <Caste>sample string 21</Caste>
  <CityID>1</CityID>
  <Course>sample string 28</Course>
  <CourseID>27</CourseID>
  <DOB>sample string 9</DOB>
  <DeviceToken>sample string 33</DeviceToken>
  <Email>sample string 12</Email>
  <EnrollmentDate>sample string 4</EnrollmentDate>
  <EnrollmentNo>sample string 3</EnrollmentNo>
  <FatherDeviceToken>sample string 34</FatherDeviceToken>
  <FatherEmail>sample string 16</FatherEmail>
  <FatherMobile>sample string 14</FatherMobile>
  <FatherName>sample string 13</FatherName>
  <FatherOccupation>sample string 15</FatherOccupation>
  <FeesTypeId>1</FeesTypeId>
  <FirstName>sample string 5</FirstName>
  <Gender>sample string 8</Gender>
  <Landmark>sample string 19</Landmark>
  <LastName>sample string 7</LastName>
  <LumpsumAmount>sample string 36</LumpsumAmount>
  <LumpsumDate>sample string 37</LumpsumDate>
  <LumpsumDiscount>sample string 39</LumpsumDiscount>
  <LumpsumFees>sample string 40</LumpsumFees>
  <LumpsumStatus>true</LumpsumStatus>
  <Medium>sample string 24</Medium>
  <MiddleName>sample string 6</MiddleName>
  <MobileNo>sample string 10</MobileNo>
  <ModeID>35</ModeID>
  <PhoneNo>sample string 11</PhoneNo>
  <PhotoUrl>sample string 23</PhotoUrl>
  <Pincode>sample string 20</Pincode>
  <School>sample string 22</School>
  <Session>sample string 26</Session>
  <SessionID>25</SessionID>
  <Stream>sample string 30</Stream>
  <StreamID>29</StreamID>
  <StudentAccountID>1</StudentAccountID>
  <StudentID>2</StudentID>
</StudentViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StudentViewModel'.