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": [
"cf7132a0-f4f2-4c0d-8ccc-12589cc8407f",
"ac7109c6-709f-4c5b-bc63-d4683ed4c419"
],
"MenteeIds": [
"df1249a4-9760-470c-8a72-b61b17085c56",
"a732185c-1c22-4116-a770-75d4a8a3fceb"
]
}
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>df1249a4-9760-470c-8a72-b61b17085c56</d2p1:guid>
<d2p1:guid>a732185c-1c22-4116-a770-75d4a8a3fceb</d2p1:guid>
</MenteeIds>
<MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>cf7132a0-f4f2-4c0d-8ccc-12589cc8407f</d2p1:guid>
<d2p1:guid>ac7109c6-709f-4c5b-bc63-d4683ed4c419</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.