PUT api/UserRelations/Update?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
ChangeUserRelationBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserProfileId | string |
Required |
|
| Supervisor | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserProfileId": "sample string 1",
"Supervisor": "sample string 2"
}
application/xml, text/xml
Sample:
<ChangeUserRelationBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Supervisor>sample string 2</Supervisor> <UserProfileId i:nil="true" /> <UserProfileId>sample string 1</UserProfileId> </ChangeUserRelationBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.