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": "9d818189-d5ad-4e79-a694-76a341e36a19",
"ParentID": "069274f9-dc84-4183-9832-65d5d18d4e8c"
}
application/xml, text/xml
Sample:
<StudentParent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParentAPI.Models"> <ParentID>069274f9-dc84-4183-9832-65d5d18d4e8c</ParentID> <StudentID>9d818189-d5ad-4e79-a694-76a341e36a19</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": "0ded9997-6493-452c-967b-abbed9f19a16",
"ParentID": "48d70db8-ebf5-4419-8480-951ed31d05bd"
}
application/xml, text/xml
Sample:
<StudentParent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParentAPI.Models"> <ParentID>48d70db8-ebf5-4419-8480-951ed31d05bd</ParentID> <StudentID>0ded9997-6493-452c-967b-abbed9f19a16</StudentID> </StudentParent>