POST api/userGroup/{id}/defaultUserGroupUsers

Returns users with default user group.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

User group id.

globally unique identifier

Required

Body Parameters

GetDefaultUserGroupUsersInUserGroupRequest
NameDescriptionTypeAdditional information
KnownSearchFields

Collection of string

None.

KnownSortFields

Collection of string

None.

PageSize

integer

None.

PageIndex

integer

None.

SearchBy

Collection of Filter

None.

SortBy

Collection of Sort

None.

Request Formats

application/json, text/json

Sample:
{
  "KnownSearchFields": [
    "FirstName",
    "LastName",
    "Username",
    "EmailAddress"
  ],
  "KnownSortFields": [
    "FirstName",
    "LastName",
    "Username",
    "EmailAddress"
  ],
  "PageSize": 1,
  "PageIndex": 2,
  "SearchBy": [
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    },
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    }
  ],
  "SortBy": [
    {
      "Key": "sample string 1",
      "Order": 0
    },
    {
      "Key": "sample string 1",
      "Order": 0
    }
  ]
}

application/xml, text/xml

Sample:
<GetDefaultUserGroupUsersInUserGroupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests.UserGroups">
  <KnownSearchFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <d2p1:string>FirstName</d2p1:string>
    <d2p1:string>LastName</d2p1:string>
    <d2p1:string>Username</d2p1:string>
    <d2p1:string>EmailAddress</d2p1:string>
  </KnownSearchFields>
  <KnownSortFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <d2p1:string>FirstName</d2p1:string>
    <d2p1:string>LastName</d2p1:string>
    <d2p1:string>Username</d2p1:string>
    <d2p1:string>EmailAddress</d2p1:string>
  </KnownSortFields>
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">2</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">1</PageSize>
  <SearchBy xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
  </SearchBy>
  <SortBy xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
  </SortBy>
</GetDefaultUserGroupUsersInUserGroupRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiCollectionResponseOfGetDefaultUserGroupUsersInUserGroupResponse
NameDescriptionTypeAdditional information
PageSize

integer

None.

PageIndex

integer

None.

Total

integer

None.

SearchBy

Collection of Filter

None.

SortBy

Collection of Sort

None.

Data

Collection of GetDefaultUserGroupUsersInUserGroupResponse

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "PageSize": 1,
  "PageIndex": 2,
  "Total": 3,
  "SearchBy": [
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    },
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    }
  ],
  "SortBy": [
    {
      "Key": "sample string 1",
      "Order": 0
    },
    {
      "Key": "sample string 1",
      "Order": 0
    }
  ],
  "Data": [
    {
      "Id": "90ba918d-0367-41ec-8dd7-4aa428713b93",
      "DefaultUserGroupId": "d51713f2-6e27-47e5-ae9b-8ed0c437c334",
      "FirstName": "sample string 3",
      "LastName": "sample string 4",
      "Username": "sample string 5",
      "EmailAddress": "sample string 6"
    },
    {
      "Id": "90ba918d-0367-41ec-8dd7-4aa428713b93",
      "DefaultUserGroupId": "d51713f2-6e27-47e5-ae9b-8ed0c437c334",
      "FirstName": "sample string 3",
      "LastName": "sample string 4",
      "Username": "sample string 5",
      "EmailAddress": "sample string 6"
    }
  ],
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ApiCollectionResponseOfGetDefaultUserGroupUsersInUserGroupResponsegmPb7CtU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses.UserGroups">
    <d2p1:GetDefaultUserGroupUsersInUserGroupResponse>
      <d2p1:DefaultUserGroupId>d51713f2-6e27-47e5-ae9b-8ed0c437c334</d2p1:DefaultUserGroupId>
      <d2p1:EmailAddress>sample string 6</d2p1:EmailAddress>
      <d2p1:FirstName>sample string 3</d2p1:FirstName>
      <d2p1:Id>90ba918d-0367-41ec-8dd7-4aa428713b93</d2p1:Id>
      <d2p1:LastName>sample string 4</d2p1:LastName>
      <d2p1:Username>sample string 5</d2p1:Username>
    </d2p1:GetDefaultUserGroupUsersInUserGroupResponse>
    <d2p1:GetDefaultUserGroupUsersInUserGroupResponse>
      <d2p1:DefaultUserGroupId>d51713f2-6e27-47e5-ae9b-8ed0c437c334</d2p1:DefaultUserGroupId>
      <d2p1:EmailAddress>sample string 6</d2p1:EmailAddress>
      <d2p1:FirstName>sample string 3</d2p1:FirstName>
      <d2p1:Id>90ba918d-0367-41ec-8dd7-4aa428713b93</d2p1:Id>
      <d2p1:LastName>sample string 4</d2p1:LastName>
      <d2p1:Username>sample string 5</d2p1:Username>
    </d2p1:GetDefaultUserGroupUsersInUserGroupResponse>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <PageIndex>2</PageIndex>
  <PageSize>1</PageSize>
  <SearchBy>
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
  </SearchBy>
  <SortBy>
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
  </SortBy>
  <Total>3</Total>
</ApiCollectionResponseOfGetDefaultUserGroupUsersInUserGroupResponsegmPb7CtU>