POST api/StudentParents
Request Information
URI Parameters
None.
Body Parameters
StudentParent| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentID | globally unique identifier |
None. |
|
| ParentID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"StudentID": "38a4e4ec-213d-4ad7-a51e-35be436686ca",
"ParentID": "0c230ae8-c9e1-4412-8ceb-8e4957c859d8"
}
application/xml, text/xml
Sample:
<StudentParent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusAPI.Models"> <ParentID>0c230ae8-c9e1-4412-8ceb-8e4957c859d8</ParentID> <StudentID>38a4e4ec-213d-4ad7-a51e-35be436686ca</StudentID> </StudentParent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StudentParent| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentID | globally unique identifier |
None. |
|
| ParentID | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"StudentID": "360125e2-6bc0-4bc7-9835-55a26c5ee9e7",
"ParentID": "cc48d3e4-8324-4172-aa09-632f8c381a70"
}
application/xml, text/xml
Sample:
<StudentParent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusAPI.Models"> <ParentID>cc48d3e4-8324-4172-aa09-632f8c381a70</ParentID> <StudentID>360125e2-6bc0-4bc7-9835-55a26c5ee9e7</StudentID> </StudentParent>