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": "4dcecbf1-bcac-402b-8960-9ecda35ec8ab",
"ParentID": "a5e309d0-b87b-4044-9374-7c0154188224"
}
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>a5e309d0-b87b-4044-9374-7c0154188224</ParentID> <StudentID>4dcecbf1-bcac-402b-8960-9ecda35ec8ab</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": "0275fe46-ecea-4c45-8ed2-bee1cb55e6a5",
"ParentID": "92d46845-cdca-4695-b16b-07efcebed83c"
}
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>92d46845-cdca-4695-b16b-07efcebed83c</ParentID> <StudentID>0275fe46-ecea-4c45-8ed2-bee1cb55e6a5</StudentID> </StudentParent>