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": [
"312bf7d3-3772-495b-8f45-23c9b66db83b",
"86255bc2-ea47-4504-9d12-cf85f25da52d"
],
"MenteeIds": [
"bf7e82c5-8295-4f78-b6a6-196bcea7f41a",
"6b8e987b-e8f9-4e70-be18-e913742e3ac0"
]
}
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>bf7e82c5-8295-4f78-b6a6-196bcea7f41a</d2p1:guid>
<d2p1:guid>6b8e987b-e8f9-4e70-be18-e913742e3ac0</d2p1:guid>
</MenteeIds>
<MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>312bf7d3-3772-495b-8f45-23c9b66db83b</d2p1:guid>
<d2p1:guid>86255bc2-ea47-4504-9d12-cf85f25da52d</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.