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": [
"885b1660-1315-47e4-b545-e3c45b557e38",
"0eda781b-cb65-4cae-acc0-3bb2d687ff23"
],
"MenteeIds": [
"35db4e71-97fd-4349-8792-5fefc22bd852",
"ae8f6eba-4b66-449b-ab8c-0e8dde13cb50"
]
}
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>35db4e71-97fd-4349-8792-5fefc22bd852</d2p1:guid>
<d2p1:guid>ae8f6eba-4b66-449b-ab8c-0e8dde13cb50</d2p1:guid>
</MenteeIds>
<MentorIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>885b1660-1315-47e4-b545-e3c45b557e38</d2p1:guid>
<d2p1:guid>0eda781b-cb65-4cae-acc0-3bb2d687ff23</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.