PUT api/StudentParents/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

StudentParent
NameDescriptionTypeAdditional information
StudentID

globally unique identifier

None.

ParentID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentID": "eff5e85a-42d0-4e8b-a6c3-d79c61c4327b",
  "ParentID": "7e496eba-ee88-4260-b495-7367adc9c888"
}

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>7e496eba-ee88-4260-b495-7367adc9c888</ParentID>
  <StudentID>eff5e85a-42d0-4e8b-a6c3-d79c61c4327b</StudentID>
</StudentParent>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StudentParent'.

Response Information

Resource Description

None.