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": "ae5bfea0-7672-4485-aa0e-7e98f35e1c26",
"ParentID": "21ddeb4c-b937-4d1e-bc1a-2e5e238e25b5"
}
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>21ddeb4c-b937-4d1e-bc1a-2e5e238e25b5</ParentID> <StudentID>ae5bfea0-7672-4485-aa0e-7e98f35e1c26</StudentID> </StudentParent>
application/x-www-form-urlencoded
Sample:
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": "2e00fb3a-d586-41dc-bd02-3b1630eafbea",
"ParentID": "e755f604-7ca3-414e-ab2b-97bb71f31e5d"
}
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>e755f604-7ca3-414e-ab2b-97bb71f31e5d</ParentID> <StudentID>2e00fb3a-d586-41dc-bd02-3b1630eafbea</StudentID> </StudentParent>