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": [
"bf4d9cf0-cd16-414a-8969-968dc6536796",
"c3885fa3-5408-45fb-8e61-f72a60d5dde4"
],
"MenteeIds": [
"75124840-ce60-4401-948a-057af2de8a8f",
"ba2991db-3f38-4962-9e08-53f7803cbbbb"
]
}
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>75124840-ce60-4401-948a-057af2de8a8f</d2p1:guid>
<d2p1:guid>ba2991db-3f38-4962-9e08-53f7803cbbbb</d2p1:guid>
</MenteeIds>
<MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>bf4d9cf0-cd16-414a-8969-968dc6536796</d2p1:guid>
<d2p1:guid>c3885fa3-5408-45fb-8e61-f72a60d5dde4</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.