POST api/UserManager/ChangeAccessGroup

Request Information

URI Parameters

None.

Body Parameters

AccessControl
NameDescriptionTypeAdditional information
Name

string

None.

Id

integer

None.

UserIds

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "id": 2,
  "userIds": [
    "5478a94d-0a23-4c2d-aecd-7c389c7c4594",
    "b2930359-5c3c-4829-9154-34bd08067271"
  ]
}

application/xml, text/xml

Sample:
<AccessControl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <Id>2</Id>
  <Name>sample string 1</Name>
  <UserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>5478a94d-0a23-4c2d-aecd-7c389c7c4594</d2p1:guid>
    <d2p1:guid>b2930359-5c3c-4829-9154-34bd08067271</d2p1:guid>
  </UserIds>
</AccessControl>

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 'AccessControl'.

Response Information

Resource Description

ObjResultOfBoolean
NameDescriptionTypeAdditional information
Data

boolean

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

application/xml, text/xml

Sample:
<ObjResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>4</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 2</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <Data>true</Data>
</ObjResultOfboolean>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

group

Property Description
Name (String)

				
Id (Int64)

				
UserIds (Guid[])

				
}