POST api/Instruction/AddUpdateStudent
Request Information
URI Parameters
None.
Body Parameters
StudentName | 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-07-28T13:32:50.4809175-07: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-07-28T13:32:50.4809175-07: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
StudentName | 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-07-28T13:32:50.4809175-07: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-07-28T13:32:50.4809175-07:00</CreatedDate> <Name>sample string 3</Name> <PersonID>2</PersonID> <StudentID>1</StudentID> </Student>