POST api/Instruction/AddUpdateStudent
Request Information
URI Parameters
None.
Body Parameters
Student| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentID | integer |
None. |
|
| PersonID | integer |
None. |
|
| CreatedDate | date |
None. |
|
| Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StudentID": 1,
"PersonID": 2,
"CreatedDate": "2025-12-05T20:20:50.738985-08:00",
"Name": "sample string 3"
}
application/xml, text/xml
Sample:
<Student xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities"> <CreatedDate>2025-12-05T20:20:50.738985-08:00</CreatedDate> <Name>sample string 3</Name> <PersonID>2</PersonID> <StudentID>1</StudentID> </Student>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Student| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentID | integer |
None. |
|
| PersonID | integer |
None. |
|
| CreatedDate | date |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"StudentID": 1,
"PersonID": 2,
"CreatedDate": "2025-12-05T20:20:50.738985-08:00",
"Name": "sample string 3"
}
application/xml, text/xml
Sample:
<Student xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities"> <CreatedDate>2025-12-05T20:20:50.738985-08:00</CreatedDate> <Name>sample string 3</Name> <PersonID>2</PersonID> <StudentID>1</StudentID> </Student>