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": "6f9fb49d-d6d1-4f69-bd81-eb56e9b0da39",
"ParentID": "774c0d1b-7f62-4b88-97dd-7171edcbcc1a"
}
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>774c0d1b-7f62-4b88-97dd-7171edcbcc1a</ParentID> <StudentID>6f9fb49d-d6d1-4f69-bd81-eb56e9b0da39</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": "4088cd1a-af66-4222-8602-57aadf82acc6",
"ParentID": "95bb257b-2205-4a64-a760-02be1a0e5849"
}
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>95bb257b-2205-4a64-a760-02be1a0e5849</ParentID> <StudentID>4088cd1a-af66-4222-8602-57aadf82acc6</StudentID> </StudentParent>