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": [
"cdd9cb01-e4fd-4f12-964b-e7c261907e32",
"04c39e27-52d9-4059-8477-ec0580e1672a"
],
"MenteeIds": [
"fd85f11f-0a32-490a-9d06-42638cb57bca",
"7ce839ac-5a26-4e99-8b79-46775eefacdb"
]
}
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>fd85f11f-0a32-490a-9d06-42638cb57bca</d2p1:guid>
<d2p1:guid>7ce839ac-5a26-4e99-8b79-46775eefacdb</d2p1:guid>
</MenteeIds>
<MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>cdd9cb01-e4fd-4f12-964b-e7c261907e32</d2p1:guid>
<d2p1:guid>04c39e27-52d9-4059-8477-ec0580e1672a</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.