POST api/AddUpdateDistStudent

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDistStudent
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "StudentID": 1,
  "EnrollmentNo": "sample string 2",
  "Password": "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",
  "Email": "sample string 11",
  "FatherName": "sample string 12",
  "FatherMobile": "sample string 13",
  "Aadhar": "sample string 14",
  "Address": "sample string 15",
  "Landmark": "sample string 16",
  "CityID": 1,
  "Pincode": "sample string 17",
  "Caste": "sample string 18",
  "PhotoUrl": "sample string 19",
  "Medium": "sample string 20",
  "SessionID": 21,
  "Session": "sample string 22",
  "CourseID": 23,
  "Course": "sample string 24",
  "StreamID": 25,
  "Stream": "sample string 26",
  "BatchID": 27,
  "Batch": "sample string 28",
  "DeviceToken": "sample string 29",
  "CreatedByUserID": 30,
  "CreatedOnDate": "sample string 31",
  "IsActive": true
}

text/html

Sample:
{"StudentID":1,"EnrollmentNo":"sample string 2","Password":"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","Email":"sample string 11","FatherName":"sample string 12","FatherMobile":"sample string 13","Aadhar":"sample string 14","Address":"sample string 15","Landmark":"sample string 16","CityID":1,"Pincode":"sample string 17","Caste":"sample string 18","PhotoUrl":"sample string 19","Medium":"sample string 20","SessionID":21,"Session":"sample string 22","CourseID":23,"Course":"sample string 24","StreamID":25,"Stream":"sample string 26","BatchID":27,"Batch":"sample string 28","DeviceToken":"sample string 29","CreatedByUserID":30,"CreatedOnDate":"sample string 31","IsActive":true}

application/xml, text/xml

Sample:
<DistStudentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.DistanceTest">
  <Aadhar>sample string 14</Aadhar>
  <Address>sample string 15</Address>
  <Batch>sample string 28</Batch>
  <BatchID>27</BatchID>
  <Caste>sample string 18</Caste>
  <CityID>1</CityID>
  <Course>sample string 24</Course>
  <CourseID>23</CourseID>
  <CreatedByUserID>30</CreatedByUserID>
  <CreatedOnDate>sample string 31</CreatedOnDate>
  <DOB>sample string 9</DOB>
  <DeviceToken>sample string 29</DeviceToken>
  <Email>sample string 11</Email>
  <EnrollmentDate>sample string 4</EnrollmentDate>
  <EnrollmentNo>sample string 2</EnrollmentNo>
  <FatherMobile>sample string 13</FatherMobile>
  <FatherName>sample string 12</FatherName>
  <FirstName>sample string 5</FirstName>
  <Gender>sample string 8</Gender>
  <IsActive>true</IsActive>
  <Landmark>sample string 16</Landmark>
  <LastName>sample string 7</LastName>
  <Medium>sample string 20</Medium>
  <MiddleName>sample string 6</MiddleName>
  <MobileNo>sample string 10</MobileNo>
  <Password>sample string 3</Password>
  <PhotoUrl>sample string 19</PhotoUrl>
  <Pincode>sample string 17</Pincode>
  <Session>sample string 22</Session>
  <SessionID>21</SessionID>
  <Stream>sample string 26</Stream>
  <StreamID>25</StreamID>
  <StudentID>1</StudentID>
</DistStudentViewModel>

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 'DistStudentViewModel'.