POST api/UserManagement/UpdateGroup

Update specific user group including users

Request Information

URI Parameters

None.

Body Parameters

Group id

UserGroupUpdateDto
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Description

string

None.

OrganizationId

integer

None.

ModifiedBy

string

None.

Thumbnail

string

None.

DepartmentId

integer

None.

DeletedUsers

Collection of UserProfile

None.

AddedUsers

Collection of UserProfile

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "OrganizationId": 4,
  "ModifiedBy": "sample string 5",
  "Thumbnail": "sample string 6",
  "DepartmentId": 7,
  "DeletedUsers": [
    null,
    {
      "ProfileId": "",
      "UserId": "",
      "OrganizationId": "",
      "Email": null,
      "FirstName": null,
      "MiddleName": null,
      "MiddleInitials": null,
      "LastName": null,
      "Rating": 0.0,
      "Link": null,
      "Locale": null,
      "Picture": null,
      "Thumbnail": null,
      "ThumbnailURL": null,
      "IsActive": false,
      "IsDeleted": false,
      "IsWelcomeVisible": false,
      "IsVideoHelpVisible": false,
      "IsDefault": false,
      "AddressLine1": null,
      "AddressLine2": null,
      "ZipCode": null,
      "StateCode": null,
      "City": null,
      "County": null,
      "Country": null,
      "CountryCode": null,
      "Address": null,
      "OfficialName": null,
      "Suffix": null,
      "Title": null,
      "JobTitle": null,
      "PhoneNumber": null,
      "UserSignatureId": 0,
      "Signature": null,
      "Initials": null,
      "SignatureDescription": null,
      "UserSignatures": null,
      "ProfileStatus": 0,
      "Settings": null,
      "CreatedBy": null,
      "ModifiedBy": null,
      "UserType": 0,
      "IsMerged": false,
      "BusinessName": null,
      "TimeZoneDetails": null
    }
  ],
  "AddedUsers": [
    {
      "ProfileId": "",
      "UserId": "",
      "OrganizationId": "",
      "Email": null,
      "FirstName": null,
      "MiddleName": null,
      "MiddleInitials": null,
      "LastName": null,
      "Rating": 0.0,
      "Link": null,
      "Locale": null,
      "Picture": null,
      "Thumbnail": null,
      "ThumbnailURL": null,
      "IsActive": false,
      "IsDeleted": false,
      "IsWelcomeVisible": false,
      "IsVideoHelpVisible": false,
      "IsDefault": false,
      "AddressLine1": null,
      "AddressLine2": null,
      "ZipCode": null,
      "StateCode": null,
      "City": null,
      "County": null,
      "Country": null,
      "CountryCode": null,
      "Address": null,
      "OfficialName": null,
      "Suffix": null,
      "Title": null,
      "JobTitle": null,
      "PhoneNumber": null,
      "UserSignatureId": 0,
      "Signature": null,
      "Initials": null,
      "SignatureDescription": null,
      "UserSignatures": null,
      "ProfileStatus": 0,
      "Settings": null,
      "CreatedBy": null,
      "ModifiedBy": null,
      "UserType": 0,
      "IsMerged": false,
      "BusinessName": null,
      "TimeZoneDetails": null
    },
    {
      "ProfileId": "",
      "UserId": "",
      "OrganizationId": "",
      "Email": null,
      "FirstName": null,
      "MiddleName": null,
      "MiddleInitials": null,
      "LastName": null,
      "Rating": 0.0,
      "Link": null,
      "Locale": null,
      "Picture": null,
      "Thumbnail": null,
      "ThumbnailURL": null,
      "IsActive": false,
      "IsDeleted": false,
      "IsWelcomeVisible": false,
      "IsVideoHelpVisible": false,
      "IsDefault": false,
      "AddressLine1": null,
      "AddressLine2": null,
      "ZipCode": null,
      "StateCode": null,
      "City": null,
      "County": null,
      "Country": null,
      "CountryCode": null,
      "Address": null,
      "OfficialName": null,
      "Suffix": null,
      "Title": null,
      "JobTitle": null,
      "PhoneNumber": null,
      "UserSignatureId": 0,
      "Signature": null,
      "Initials": null,
      "SignatureDescription": null,
      "UserSignatures": null,
      "ProfileStatus": 0,
      "Settings": null,
      "CreatedBy": null,
      "ModifiedBy": null,
      "UserType": 0,
      "IsMerged": false,
      "BusinessName": null,
      "TimeZoneDetails": null
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

User group delete status

ResponseOfBoolean
NameDescriptionTypeAdditional information
StatusCode

StatusCode

None.

Message

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1000,
  "Message": "sample string 1",
  "Data": true
}

application/xml, text/xml

Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto">
  <Data>true</Data>
  <Message>sample string 1</Message>
  <Result />
  <StatusCode>Success</StatusCode>
</ResponseOfboolean>