PUT api/AdministrationGroup?groupId={groupId}

Updates the specified AdministrationGroup



Request Information

Parameters

NameDescriptionAdditional information
groupId The groupId.

Define this parameter in the request URI.

value The updated values for AdministrationGroup.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "groupId": 3,
  "isDefault": true,
  "name": "sample string 5"
}

application/xml, text/xml

Sample:
<AdministrationGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <GroupId>3</GroupId>
  <IsDefault>true</IsDefault>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Name>sample string 5</Name>
</AdministrationGroup>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AdministrationGroupProxy'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "groupId": 3,
  "isDefault": true,
  "name": "sample string 5"
}

application/xml, text/xml

Sample:
<AdministrationGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <GroupId>3</GroupId>
  <IsDefault>true</IsDefault>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Name>sample string 5</Name>
</AdministrationGroup>