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": [
    "231ef848-fe5a-42cf-b6b7-5b72d520b901",
    "58d85dfe-eb08-4a4a-ac5b-ba59976b9f15"
  ],
  "MenteeIds": [
    "414ae3ba-6d5f-4a36-b302-34597d585ae8",
    "b2faa984-60eb-42c6-a1a7-3d7eee6b317c"
  ]
}

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>414ae3ba-6d5f-4a36-b302-34597d585ae8</d2p1:guid>
    <d2p1:guid>b2faa984-60eb-42c6-a1a7-3d7eee6b317c</d2p1:guid>
  </MenteeIds>
  <MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>231ef848-fe5a-42cf-b6b7-5b72d520b901</d2p1:guid>
    <d2p1:guid>58d85dfe-eb08-4a4a-ac5b-ba59976b9f15</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.