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": "818ce16d-0cff-4677-8559-58abbfcf2a25",
"ParentID": "66dba9ce-d2cb-4dd6-90cd-bd2c8593aff0"
}
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>66dba9ce-d2cb-4dd6-90cd-bd2c8593aff0</ParentID> <StudentID>818ce16d-0cff-4677-8559-58abbfcf2a25</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": "7f9bcc71-efcc-435d-b5bb-4496350b4901",
"ParentID": "df09f487-0053-41e8-81b0-c0c9d7600600"
}
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>df09f487-0053-41e8-81b0-c0c9d7600600</ParentID> <StudentID>7f9bcc71-efcc-435d-b5bb-4496350b4901</StudentID> </StudentParent>