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": [
"855cfc76-df29-40f0-8786-57c631da6030",
"e2be3d4c-f07e-47f5-b363-1122e70abc6e"
],
"MenteeIds": [
"63a59698-5515-423a-8cbf-fcc473576aa8",
"c36b0b25-2244-445d-9348-16bc3ec76ed7"
]
}
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>63a59698-5515-423a-8cbf-fcc473576aa8</d2p1:guid>
<d2p1:guid>c36b0b25-2244-445d-9348-16bc3ec76ed7</d2p1:guid>
</MenteeIds>
<MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>855cfc76-df29-40f0-8786-57c631da6030</d2p1:guid>
<d2p1:guid>e2be3d4c-f07e-47f5-b363-1122e70abc6e</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.