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": "6f044ae8-5e95-4464-a7a5-c6ca5f1aba42",
  "tenantId": "9303cbe9-5aa6-4d32-a5af-38d12c39446c",
  "lookupKey": "sample string 3",
  "name": "sample string 4",
  "description": "sample string 5",
  "isDefault": true,
  "createdDateUtc": "2026-09-11T10:52:27.1525302+00:00",
  "updatedDateUtc": "2026-09-11T10:52:27.1525302+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-09-11T10:52:27.1525302+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-09-11T10:52:27.1525302+00:00</UpdatedDateUtc>
  <Description>sample string 5</Description>
  <IsDefault>true</IsDefault>
  <LookupKey>sample string 3</LookupKey>
  <Name>sample string 4</Name>
  <TenantId>9303cbe9-5aa6-4d32-a5af-38d12c39446c</TenantId>
  <UserGroupId>6f044ae8-5e95-4464-a7a5-c6ca5f1aba42</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'.