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": "ccdd9729-4665-4446-a4e3-43f6e8fbffa0",
"ParentID": "7f886bc7-3f4a-400e-b3ec-95aefeb3e7e7"
}
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>7f886bc7-3f4a-400e-b3ec-95aefeb3e7e7</ParentID> <StudentID>ccdd9729-4665-4446-a4e3-43f6e8fbffa0</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": "3ebedb54-1b49-4de7-9444-d914d307d194",
"ParentID": "ef6b57c4-bca4-4580-964e-78d7cc0680f4"
}
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>ef6b57c4-bca4-4580-964e-78d7cc0680f4</ParentID> <StudentID>3ebedb54-1b49-4de7-9444-d914d307d194</StudentID> </StudentParent>