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": "f0df238a-363a-4f47-b591-7b6190a7719f",
"ParentID": "bb1f8b08-1bd5-40e1-97ca-abaf8549ca75"
}
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>bb1f8b08-1bd5-40e1-97ca-abaf8549ca75</ParentID> <StudentID>f0df238a-363a-4f47-b591-7b6190a7719f</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": "e0a634ee-1531-433c-9f1e-2ff1592b0518",
"ParentID": "d80ed2bc-d249-417d-8496-55eda1a92f3f"
}
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>d80ed2bc-d249-417d-8496-55eda1a92f3f</ParentID> <StudentID>e0a634ee-1531-433c-9f1e-2ff1592b0518</StudentID> </StudentParent>