PUT api/Student
Request Information
URI Parameters
None.
Body Parameters
StudentUpdateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
Required |
|
| LastName | string |
Required |
|
| Gender | string |
Required |
|
| GradeLevel | GradeLevel |
Required |
|
| Teacher | string |
Required |
|
| StudentId | integer |
Required Range: inclusive between 0 and 2147483647 |
|
| Active | boolean |
Required |
|
| SSID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Gender": "sample string 3",
"GradeLevel": 0,
"Teacher": "sample string 4",
"StudentId": 5,
"Active": true,
"SSID": 1
}
application/xml, text/xml
Sample:
<StudentUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects.StudentObjects.StudentModels.InputModel"> <Active>true</Active> <FirstName>sample string 1</FirstName> <Gender>sample string 3</Gender> <GradeLevel>KINDERGARTEN</GradeLevel> <LastName>sample string 2</LastName> <SSID>1</SSID> <StudentId>5</StudentId> <Teacher>sample string 4</Teacher> </StudentUpdateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |