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": [
"0e082cb6-1a9c-4765-b7a5-aa4285b7b685",
"78e66265-98d2-4c10-8505-0f8c7849a2af"
],
"MenteeIds": [
"116a44e2-d1ad-4ef4-83d1-43ac3326ee26",
"48be3a5a-9d85-4845-88e1-37aa3d1120b6"
]
}
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>116a44e2-d1ad-4ef4-83d1-43ac3326ee26</d2p1:guid>
<d2p1:guid>48be3a5a-9d85-4845-88e1-37aa3d1120b6</d2p1:guid>
</MenteeIds>
<MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>0e082cb6-1a9c-4765-b7a5-aa4285b7b685</d2p1:guid>
<d2p1:guid>78e66265-98d2-4c10-8505-0f8c7849a2af</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.