Cyan Web API - Version 1


POST api/userGroups

            Creates a UserGroup.
            

Request Information

Parameters

NameDescriptionAdditional information
userGroupRepresentation

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "userGroupId": "6ddaf6af-53a8-4f8f-aca0-47cc7232d4e4",
  "tenantId": "5461e3d7-2ff5-4ad5-a20f-3ad75f511d31",
  "lookupKey": "sample string 3",
  "name": "sample string 4",
  "description": "sample string 5",
  "isDefault": true,
  "createdDateUtc": "2026-06-08T12:48:35.4732952+00:00",
  "updatedDateUtc": "2026-06-08T12:48:35.4732952+00:00"
}

application/xml, text/xml

Sample:
<UserGroupRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <CreatedDateUtc>2026-06-08T12:48:35.4732952+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-06-08T12:48:35.4732952+00:00</UpdatedDateUtc>
  <Description>sample string 5</Description>
  <IsDefault>true</IsDefault>
  <LookupKey>sample string 3</LookupKey>
  <Name>sample string 4</Name>
  <TenantId>5461e3d7-2ff5-4ad5-a20f-3ad75f511d31</TenantId>
  <UserGroupId>6ddaf6af-53a8-4f8f-aca0-47cc7232d4e4</UserGroupId>
</UserGroupRepresentation>

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