POST group-users
Creates a relation between a group and a user.
Request Information
URI Parameters
None.
Body Parameters
The model containing the information to create the relation.
GroupUserViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Group | BaseViewModel |
Includable Settable |
|
| User | BaseViewModel |
Includable Settable |
|
| SelfUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"group": {
"selfUrl": "sample string 1"
},
"user": {
"selfUrl": "sample string 1"
},
"selfUrl": "sample string 2"
}
Response Information
Resource Description
GroupUserViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Group | BaseViewModel |
Includable Settable |
|
| User | BaseViewModel |
Includable Settable |
|
| SelfUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"group": {
"selfUrl": "sample string 1"
},
"user": {
"selfUrl": "sample string 1"
},
"selfUrl": "sample string 2"
}