PUT api/user/AssignMentors
Request Information
URI Parameters
None.
Body Parameters
AssignMentorsRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MentorIds | Collection of globally unique identifier |
None. |
|
| MenteeIds | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"MentorIds": [
"8e4cd5b8-34d1-4909-b38c-5e8de8e1b0c3",
"0fdba464-d103-4d7e-a4ff-a7e9e95be232"
],
"MenteeIds": [
"ac12788a-52f9-4ebc-b921-9d9448297af5",
"afb59761-4fa7-481a-94fc-cc816dfd5dd4"
]
}
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>ac12788a-52f9-4ebc-b921-9d9448297af5</d2p1:guid>
<d2p1:guid>afb59761-4fa7-481a-94fc-cc816dfd5dd4</d2p1:guid>
</MenteeIds>
<MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>8e4cd5b8-34d1-4909-b38c-5e8de8e1b0c3</d2p1:guid>
<d2p1:guid>0fdba464-d103-4d7e-a4ff-a7e9e95be232</d2p1:guid>
</MentorIds>
</AssignMentorsRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.