PUT api/user/AssignMentors

Request Information

URI Parameters

None.

Body Parameters

AssignMentorsRequestModel
NameDescriptionTypeAdditional information
MentorIds

Collection of globally unique identifier

None.

MenteeIds

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "MentorIds": [
    "e21c6df6-1ca8-4c22-b6fe-89d366459f28",
    "9c0f545d-bfd8-4047-b1b5-4a074592f7e7"
  ],
  "MenteeIds": [
    "6d3bc9c1-ccdc-4e11-a7a6-482386e8f043",
    "0e0e29b4-a683-4587-b169-5b1f56328274"
  ]
}

application/xml, text/xml

Sample:
<AssignMentorsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SHPACollegeAPI.Models.RequestModels">
  <MenteeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>6d3bc9c1-ccdc-4e11-a7a6-482386e8f043</d2p1:guid>
    <d2p1:guid>0e0e29b4-a683-4587-b169-5b1f56328274</d2p1:guid>
  </MenteeIds>
  <MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>e21c6df6-1ca8-4c22-b6fe-89d366459f28</d2p1:guid>
    <d2p1:guid>9c0f545d-bfd8-4047-b1b5-4a074592f7e7</d2p1:guid>
  </MentorIds>
</AssignMentorsRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.