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": "c93368a2-a346-4f68-ac25-8b12dc9558f6",
  "tenantId": "a3db6198-baef-4a87-b298-962df1b6ee17",
  "lookupKey": "sample string 3",
  "name": "sample string 4",
  "description": "sample string 5",
  "isDefault": true,
  "createdDateUtc": "2026-02-07T07:09:35.7792679+00:00",
  "updatedDateUtc": "2026-02-07T07:09:35.7792679+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-02-07T07:09:35.7792679+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-02-07T07:09:35.7792679+00:00</UpdatedDateUtc>
  <Description>sample string 5</Description>
  <IsDefault>true</IsDefault>
  <LookupKey>sample string 3</LookupKey>
  <Name>sample string 4</Name>
  <TenantId>a3db6198-baef-4a87-b298-962df1b6ee17</TenantId>
  <UserGroupId>c93368a2-a346-4f68-ac25-8b12dc9558f6</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'.