POST api/Student/Save
Request Information
URI Parameters
None.
Body Parameters
StudentSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentName | string |
Required String length: inclusive between 0 and 250 |
|
| Code | string |
Required String length: inclusive between 0 and 30 |
|
| Gender | string |
Required |
|
| Dob | string |
None. |
|
| Address1 | string |
Required String length: inclusive between 0 and 200 |
|
| Address2 | string |
Required String length: inclusive between 0 and 200 |
|
| AddressPincode | string |
String length: inclusive between 0 and 50 |
|
| AddressPlace | string |
String length: inclusive between 0 and 100 |
|
| PO | PlaceLookupVM |
None. |
|
| District | PlaceLookupVM |
None. |
|
| State | PlaceLookupVM |
None. |
|
| Country | PlaceLookupVM |
None. |
|
| GuardianName | string |
Required String length: inclusive between 0 and 100 |
|
| Occupation | OccupationLookupVM |
None. |
|
| Grade | GradeLookupVM |
Required |
|
| Language | LanguageLookupVM |
Required |
|
| FavColor | string |
String length: inclusive between 0 and 100 |
|
| FavGame | string |
String length: inclusive between 0 and 100 |
|
| HobbyDesc | string |
String length: inclusive between 0 and 250 |
|
| TalentDesc | string |
String length: inclusive between 0 and 500 |
|
| AchieveDesc | string |
String length: inclusive between 0 and 2000 |
|
| OthRemarks | string |
String length: inclusive between 0 and 2000 |
|
| Project | ProjectLookupVM |
Required |
|
| Agency | AgencyLookupVM |
Required |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
{
"StudentName": "sample string 1",
"Code": "sample string 2",
"Gender": "sample string 3",
"Dob": "sample string 4",
"Address1": "sample string 5",
"Address2": "sample string 6",
"AddressPincode": "sample string 7",
"AddressPlace": "sample string 8",
"PO": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"District": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"State": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"Country": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"GuardianName": "sample string 9",
"Occupation": {
"OccupationId": 1,
"OccupationName": "sample string 2"
},
"Grade": {
"GradeId": 1,
"GradeName": "sample string 2"
},
"Language": {
"LanguageId": 1,
"LanguageName": "sample string 2"
},
"FavColor": "sample string 10",
"FavGame": "sample string 11",
"HobbyDesc": "sample string 12",
"TalentDesc": "sample string 13",
"AchieveDesc": "sample string 14",
"OthRemarks": "sample string 15",
"Project": {
"ProjectId": 1,
"ProjectName": "sample string 2"
},
"Agency": {
"AgencyId": 1,
"AgencyName": "sample string 2"
},
"Status": "sample string 16",
"CreateUser": 17,
"CreateIp": "sample string 18"
}
application/xml, text/xml
<StudentSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AchieveDesc>sample string 14</AchieveDesc>
<Address1>sample string 5</Address1>
<Address2>sample string 6</Address2>
<AddressPincode>sample string 7</AddressPincode>
<AddressPlace>sample string 8</AddressPlace>
<Agency>
<AgencyId>1</AgencyId>
<AgencyName>sample string 2</AgencyName>
</Agency>
<Code>sample string 2</Code>
<Country>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Country>
<CreateIp>sample string 18</CreateIp>
<CreateUser>17</CreateUser>
<District>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</District>
<Dob>sample string 4</Dob>
<FavColor>sample string 10</FavColor>
<FavGame>sample string 11</FavGame>
<Gender>sample string 3</Gender>
<Grade>
<GradeId>1</GradeId>
<GradeName>sample string 2</GradeName>
</Grade>
<GuardianName>sample string 9</GuardianName>
<HobbyDesc>sample string 12</HobbyDesc>
<Language>
<LanguageId>1</LanguageId>
<LanguageName>sample string 2</LanguageName>
</Language>
<Occupation>
<OccupationId>1</OccupationId>
<OccupationName>sample string 2</OccupationName>
</Occupation>
<OthRemarks>sample string 15</OthRemarks>
<PO>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</PO>
<Project>
<ProjectId>1</ProjectId>
<ProjectName>sample string 2</ProjectName>
</Project>
<State>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</State>
<Status>sample string 16</Status>
<StudentName>sample string 1</StudentName>
<TalentDesc>sample string 13</TalentDesc>
</StudentSaveVM>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.