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": "4bf7edd8-3b5f-4922-a0ef-e36295673fb7",
  "tenantId": "bae7d56f-d0e2-435c-8927-dc97457ac962",
  "lookupKey": "sample string 3",
  "name": "sample string 4",
  "description": "sample string 5",
  "isDefault": true,
  "createdDateUtc": "2026-04-24T23:47:37.1682482+00:00",
  "updatedDateUtc": "2026-04-24T23:47:37.1682482+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-04-24T23:47:37.1682482+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-04-24T23:47:37.1682482+00:00</UpdatedDateUtc>
  <Description>sample string 5</Description>
  <IsDefault>true</IsDefault>
  <LookupKey>sample string 3</LookupKey>
  <Name>sample string 4</Name>
  <TenantId>bae7d56f-d0e2-435c-8927-dc97457ac962</TenantId>
  <UserGroupId>4bf7edd8-3b5f-4922-a0ef-e36295673fb7</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'.