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": [
"f5856fee-4299-442c-b665-e8d3b087ee95",
"f1e0b868-c78d-474e-a135-d814d3651a8b"
],
"MenteeIds": [
"c11cea21-052e-44a2-9fe9-4bd74e2ad606",
"1370add8-10c2-4741-a844-113a236854a5"
]
}
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>c11cea21-052e-44a2-9fe9-4bd74e2ad606</d2p1:guid>
<d2p1:guid>1370add8-10c2-4741-a844-113a236854a5</d2p1:guid>
</MenteeIds>
<MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f5856fee-4299-442c-b665-e8d3b087ee95</d2p1:guid>
<d2p1:guid>f1e0b868-c78d-474e-a135-d814d3651a8b</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.