POST api/StudentParents

Request Information

URI Parameters

None.

Body Parameters

StudentParent
NameDescriptionTypeAdditional information
StudentID

globally unique identifier

None.

ParentID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentID": "0e9ef6eb-8eb7-4fff-872c-cb75aa47080e",
  "ParentID": "c758c025-1cb3-4db4-b99d-27ccba629238"
}

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>c758c025-1cb3-4db4-b99d-27ccba629238</ParentID>
  <StudentID>0e9ef6eb-8eb7-4fff-872c-cb75aa47080e</StudentID>
</StudentParent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StudentParent
NameDescriptionTypeAdditional information
StudentID

globally unique identifier

None.

ParentID

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "StudentID": "814748c6-e65d-400b-832e-915041675304",
  "ParentID": "b4410bda-a2c7-4676-b04c-d37d3eb528bf"
}

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>b4410bda-a2c7-4676-b04c-d37d3eb528bf</ParentID>
  <StudentID>814748c6-e65d-400b-832e-915041675304</StudentID>
</StudentParent>