POST api/StudentDetail/SaveStudents
Request Information
URI Parameters
None.
Body Parameters
Collection of Student| Name | Description | Type | Additional information |
|---|---|---|---|
| RegNo | string |
None. |
|
| Gender | string |
None. |
|
| StudentName | string |
None. |
|
| FathersName | string |
None. |
|
| MothersName | string |
None. |
|
| ContactNo | string |
None. |
|
| string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"RegNo": "sample string 1",
"Gender": "sample string 2",
"StudentName": "sample string 3",
"FathersName": "sample string 4",
"MothersName": "sample string 5",
"ContactNo": "sample string 6",
"Email": "sample string 7"
},
{
"RegNo": "sample string 1",
"Gender": "sample string 2",
"StudentName": "sample string 3",
"FathersName": "sample string 4",
"MothersName": "sample string 5",
"ContactNo": "sample string 6",
"Email": "sample string 7"
}
]
application/xml, text/xml
Sample:
<ArrayOfStudent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EruditeWebApi.Models">
<Student>
<ContactNo>sample string 6</ContactNo>
<Email>sample string 7</Email>
<FathersName>sample string 4</FathersName>
<Gender>sample string 2</Gender>
<MothersName>sample string 5</MothersName>
<RegNo>sample string 1</RegNo>
<StudentName>sample string 3</StudentName>
</Student>
<Student>
<ContactNo>sample string 6</ContactNo>
<Email>sample string 7</Email>
<FathersName>sample string 4</FathersName>
<Gender>sample string 2</Gender>
<MothersName>sample string 5</MothersName>
<RegNo>sample string 1</RegNo>
<StudentName>sample string 3</StudentName>
</Student>
</ArrayOfStudent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Student| Name | Description | Type | Additional information |
|---|---|---|---|
| RegNo | string |
None. |
|
| Gender | string |
None. |
|
| StudentName | string |
None. |
|
| FathersName | string |
None. |
|
| MothersName | string |
None. |
|
| ContactNo | string |
None. |
|
| string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"RegNo": "sample string 1",
"Gender": "sample string 2",
"StudentName": "sample string 3",
"FathersName": "sample string 4",
"MothersName": "sample string 5",
"ContactNo": "sample string 6",
"Email": "sample string 7"
},
{
"RegNo": "sample string 1",
"Gender": "sample string 2",
"StudentName": "sample string 3",
"FathersName": "sample string 4",
"MothersName": "sample string 5",
"ContactNo": "sample string 6",
"Email": "sample string 7"
}
]
application/xml, text/xml
Sample:
<ArrayOfStudent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EruditeWebApi.Models">
<Student>
<ContactNo>sample string 6</ContactNo>
<Email>sample string 7</Email>
<FathersName>sample string 4</FathersName>
<Gender>sample string 2</Gender>
<MothersName>sample string 5</MothersName>
<RegNo>sample string 1</RegNo>
<StudentName>sample string 3</StudentName>
</Student>
<Student>
<ContactNo>sample string 6</ContactNo>
<Email>sample string 7</Email>
<FathersName>sample string 4</FathersName>
<Gender>sample string 2</Gender>
<MothersName>sample string 5</MothersName>
<RegNo>sample string 1</RegNo>
<StudentName>sample string 3</StudentName>
</Student>
</ArrayOfStudent>