PUT api/Group/My/{groupId}
Updates the specified group based on the information passed in the body/model.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
groupId |
The id of the group to update |
integer |
Required |
Body Parameters
Information about the group to update
Trifolia.Web.Models.Group.GroupModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Disclaimer | string |
None. |
|
IsManager | boolean |
None. |
|
IsOpen | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "Disclaimer": "sample string 4", "IsManager": true, "IsOpen": true }
application/xml, text/xml
Sample:
<GroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trifolia.Web.Models.Group"> <Description>sample string 3</Description> <Disclaimer>sample string 4</Disclaimer> <Id>1</Id> <IsManager>true</IsManager> <IsOpen>true</IsOpen> <Name>sample string 2</Name> </GroupModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Trifolia.Web.Models.Group.GroupModel
Trifolia.Web.Models.Group.GroupModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Disclaimer | string |
None. |
|
IsManager | boolean |
None. |
|
IsOpen | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "Disclaimer": "sample string 4", "IsManager": true, "IsOpen": true }
application/xml, text/xml
Sample:
<GroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trifolia.Web.Models.Group"> <Description>sample string 3</Description> <Disclaimer>sample string 4</Disclaimer> <Id>1</Id> <IsManager>true</IsManager> <IsOpen>true</IsOpen> <Name>sample string 2</Name> </GroupModel>