POST api/UserRelations/Add
Request Information
URI Parameters
None.
Body Parameters
UserRelationBindingModel| 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:
<UserRelationBindingModel 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>sample string 1</UserProfileId> </UserRelationBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserRelation| Name | Description | Type | Additional information |
|---|---|---|---|
| UserProfileId | string |
String length: inclusive between 0 and 128 |
|
| Supervisor | string |
String length: inclusive between 0 and 128 |
|
| UserProfile | UserProfile |
None. |
|
| UserProfileSupervisor | UserProfile |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.