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": "9b3f3fb6-8fe0-43d6-859e-094e3615e883",
"ParentID": "0b1208d3-f8ad-423f-a734-318858e3c8ac"
}
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>0b1208d3-f8ad-423f-a734-318858e3c8ac</ParentID> <StudentID>9b3f3fb6-8fe0-43d6-859e-094e3615e883</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": "e1872f22-f535-44e9-b758-f908cd191ee0",
"ParentID": "d1004ad0-6a43-4004-a05e-4b5552bf65ee"
}
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>d1004ad0-6a43-4004-a05e-4b5552bf65ee</ParentID> <StudentID>e1872f22-f535-44e9-b758-f908cd191ee0</StudentID> </StudentParent>