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": [
    "a5ff9d13-36c2-47e1-82cb-cc5dfcb8cb03",
    "78d53e00-3ed4-4c5b-a4f3-cb7add4d6a1a"
  ],
  "MenteeIds": [
    "f3df7432-fd92-4e59-b43f-b7843da1ebcc",
    "f31e99d2-46a7-45af-9078-63798a7aedd7"
  ]
}

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>f3df7432-fd92-4e59-b43f-b7843da1ebcc</d2p1:guid>
    <d2p1:guid>f31e99d2-46a7-45af-9078-63798a7aedd7</d2p1:guid>
  </MenteeIds>
  <MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>a5ff9d13-36c2-47e1-82cb-cc5dfcb8cb03</d2p1:guid>
    <d2p1:guid>78d53e00-3ed4-4c5b-a4f3-cb7add4d6a1a</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.