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": [
"77114c1a-7160-4669-b789-8d4792045762",
"55c52525-f847-4cc7-9ca0-37251134c21c"
],
"MenteeIds": [
"87f466af-ffde-43ec-b112-c9949d9b7657",
"27282df5-89f6-4582-b3c5-004dd7eb84a0"
]
}
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>87f466af-ffde-43ec-b112-c9949d9b7657</d2p1:guid>
<d2p1:guid>27282df5-89f6-4582-b3c5-004dd7eb84a0</d2p1:guid>
</MenteeIds>
<MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>77114c1a-7160-4669-b789-8d4792045762</d2p1:guid>
<d2p1:guid>55c52525-f847-4cc7-9ca0-37251134c21c</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.