Cyan Web API - Version 1


GET api/userGroups

            Gets all UserGroups.
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "userGroupId": "888732b1-e91e-4d68-b786-1981e8b6ec74",
    "tenantId": "763421a9-2ea5-465c-8746-3a6b2e587811",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2024-08-30T00:58:55.1293424+00:00",
    "updatedDateUtc": "2024-08-30T00:58:55.1293424+00:00"
  },
  {
    "userGroupId": "888732b1-e91e-4d68-b786-1981e8b6ec74",
    "tenantId": "763421a9-2ea5-465c-8746-3a6b2e587811",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2024-08-30T00:58:55.1293424+00:00",
    "updatedDateUtc": "2024-08-30T00:58:55.1293424+00:00"
  },
  {
    "userGroupId": "888732b1-e91e-4d68-b786-1981e8b6ec74",
    "tenantId": "763421a9-2ea5-465c-8746-3a6b2e587811",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2024-08-30T00:58:55.1293424+00:00",
    "updatedDateUtc": "2024-08-30T00:58:55.1293424+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserGroupRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <UserGroupRepresentation>
    <CreatedDateUtc>2024-08-30T00:58:55.1293424+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2024-08-30T00:58:55.1293424+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>763421a9-2ea5-465c-8746-3a6b2e587811</TenantId>
    <UserGroupId>888732b1-e91e-4d68-b786-1981e8b6ec74</UserGroupId>
  </UserGroupRepresentation>
  <UserGroupRepresentation>
    <CreatedDateUtc>2024-08-30T00:58:55.1293424+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2024-08-30T00:58:55.1293424+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>763421a9-2ea5-465c-8746-3a6b2e587811</TenantId>
    <UserGroupId>888732b1-e91e-4d68-b786-1981e8b6ec74</UserGroupId>
  </UserGroupRepresentation>
  <UserGroupRepresentation>
    <CreatedDateUtc>2024-08-30T00:58:55.1293424+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2024-08-30T00:58:55.1293424+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>763421a9-2ea5-465c-8746-3a6b2e587811</TenantId>
    <UserGroupId>888732b1-e91e-4d68-b786-1981e8b6ec74</UserGroupId>
  </UserGroupRepresentation>
</ArrayOfUserGroupRepresentation>