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": "e8a46b24-f7e3-49d8-8232-0a4db0359806",
"ParentID": "092ee798-d179-4453-be3a-6079a092c18b"
}
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>092ee798-d179-4453-be3a-6079a092c18b</ParentID> <StudentID>e8a46b24-f7e3-49d8-8232-0a4db0359806</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": "5281d1df-b1f3-4326-a38c-a30679806b02",
"ParentID": "35883ce4-08fc-49fe-a2f1-aa3683e844ba"
}
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>35883ce4-08fc-49fe-a2f1-aa3683e844ba</ParentID> <StudentID>5281d1df-b1f3-4326-a38c-a30679806b02</StudentID> </StudentParent>