POST api/userGroup/{id}/licenses
Returns all licenses of user group.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
User group id. |
globally unique identifier |
Required |
Body Parameters
GetUserGroupLicensesRequest| Name | Description | Type | Additional 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": [
"Isbn",
"ProductName",
"StartDate",
"EndDate",
"Topic",
"TopicName",
"SubscriptionNumber",
"AccessTypeName",
"AccessType",
"LicenseType",
"LicenseTypeName",
"IsActive"
],
"KnownSortFields": [
"Isbn",
"ProductName",
"StartDate",
"EndDate",
"TopicName",
"SubscriptionNumber",
"LicenseTypeName",
"AccessTypeName"
],
"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:
<GetUserGroupLicensesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests.GetRequests">
<KnownSearchFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<d2p1:string>Isbn</d2p1:string>
<d2p1:string>ProductName</d2p1:string>
<d2p1:string>StartDate</d2p1:string>
<d2p1:string>EndDate</d2p1:string>
<d2p1:string>Topic</d2p1:string>
<d2p1:string>TopicName</d2p1:string>
<d2p1:string>SubscriptionNumber</d2p1:string>
<d2p1:string>AccessTypeName</d2p1:string>
<d2p1:string>AccessType</d2p1:string>
<d2p1:string>LicenseType</d2p1:string>
<d2p1:string>LicenseTypeName</d2p1:string>
<d2p1:string>IsActive</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>Isbn</d2p1:string>
<d2p1:string>ProductName</d2p1:string>
<d2p1:string>StartDate</d2p1:string>
<d2p1:string>EndDate</d2p1:string>
<d2p1:string>TopicName</d2p1:string>
<d2p1:string>SubscriptionNumber</d2p1:string>
<d2p1:string>LicenseTypeName</d2p1:string>
<d2p1:string>AccessTypeName</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>
</GetUserGroupLicensesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiCollectionResponseOfGetUserGroupLicensesResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| Total | integer |
None. |
|
| SearchBy | Collection of Filter |
None. |
|
| SortBy | Collection of Sort |
None. |
|
| Data | Collection of GetUserGroupLicensesResponse |
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": "sample string 1",
"UserGroupName": "sample string 2",
"UserGroupId": "sample string 3",
"OwnerId": "sample string 4",
"ProductName": "sample string 5",
"Isbn": "sample string 6",
"StartDate": "2025-12-25T15:50:09.2870557+00:00",
"EndDate": "2025-12-25T15:50:09.2870557+00:00",
"IsActive": true,
"LicenseType": 8,
"LicenseTypeName": "sample string 9",
"AccessType": 10,
"AccessTypeName": "sample string 11",
"Grade": "sample string 12",
"AccountId": "5a3116d1-68dc-4023-a73e-9c67b71a83d8",
"LicenseId": "69e46443-1bfe-4a67-8cd2-6693cba196e3",
"ProductId": "9235b6f8-b24a-4bf7-9f1d-50331d8f5e9b",
"TopicName": "sample string 16",
"Topic": "b002c1d3-ca78-4ce5-b629-d3aa9bdc9ad7",
"SubscriptionNumber": "sample string 17",
"ProductIsActive": true
},
{
"Id": "sample string 1",
"UserGroupName": "sample string 2",
"UserGroupId": "sample string 3",
"OwnerId": "sample string 4",
"ProductName": "sample string 5",
"Isbn": "sample string 6",
"StartDate": "2025-12-25T15:50:09.2870557+00:00",
"EndDate": "2025-12-25T15:50:09.2870557+00:00",
"IsActive": true,
"LicenseType": 8,
"LicenseTypeName": "sample string 9",
"AccessType": 10,
"AccessTypeName": "sample string 11",
"Grade": "sample string 12",
"AccountId": "5a3116d1-68dc-4023-a73e-9c67b71a83d8",
"LicenseId": "69e46443-1bfe-4a67-8cd2-6693cba196e3",
"ProductId": "9235b6f8-b24a-4bf7-9f1d-50331d8f5e9b",
"TopicName": "sample string 16",
"Topic": "b002c1d3-ca78-4ce5-b629-d3aa9bdc9ad7",
"SubscriptionNumber": "sample string 17",
"ProductIsActive": true
}
],
"Errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ApiCollectionResponseOfGetUserGroupLicensesResponsegmPb7CtU 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:GetUserGroupLicensesResponse>
<d2p1:AccessType>10</d2p1:AccessType>
<d2p1:AccessTypeName>sample string 11</d2p1:AccessTypeName>
<d2p1:AccountId>5a3116d1-68dc-4023-a73e-9c67b71a83d8</d2p1:AccountId>
<d2p1:EndDate>2025-12-25T15:50:09.2870557+00:00</d2p1:EndDate>
<d2p1:Grade>sample string 12</d2p1:Grade>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:Isbn>sample string 6</d2p1:Isbn>
<d2p1:LicenseId>69e46443-1bfe-4a67-8cd2-6693cba196e3</d2p1:LicenseId>
<d2p1:LicenseType>8</d2p1:LicenseType>
<d2p1:LicenseTypeName>sample string 9</d2p1:LicenseTypeName>
<d2p1:OwnerId>sample string 4</d2p1:OwnerId>
<d2p1:ProductId>9235b6f8-b24a-4bf7-9f1d-50331d8f5e9b</d2p1:ProductId>
<d2p1:ProductIsActive>true</d2p1:ProductIsActive>
<d2p1:ProductName>sample string 5</d2p1:ProductName>
<d2p1:StartDate>2025-12-25T15:50:09.2870557+00:00</d2p1:StartDate>
<d2p1:SubscriptionNumber>sample string 17</d2p1:SubscriptionNumber>
<d2p1:Topic>b002c1d3-ca78-4ce5-b629-d3aa9bdc9ad7</d2p1:Topic>
<d2p1:TopicName>sample string 16</d2p1:TopicName>
<d2p1:UserGroupId>sample string 3</d2p1:UserGroupId>
<d2p1:UserGroupName>sample string 2</d2p1:UserGroupName>
</d2p1:GetUserGroupLicensesResponse>
<d2p1:GetUserGroupLicensesResponse>
<d2p1:AccessType>10</d2p1:AccessType>
<d2p1:AccessTypeName>sample string 11</d2p1:AccessTypeName>
<d2p1:AccountId>5a3116d1-68dc-4023-a73e-9c67b71a83d8</d2p1:AccountId>
<d2p1:EndDate>2025-12-25T15:50:09.2870557+00:00</d2p1:EndDate>
<d2p1:Grade>sample string 12</d2p1:Grade>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:Isbn>sample string 6</d2p1:Isbn>
<d2p1:LicenseId>69e46443-1bfe-4a67-8cd2-6693cba196e3</d2p1:LicenseId>
<d2p1:LicenseType>8</d2p1:LicenseType>
<d2p1:LicenseTypeName>sample string 9</d2p1:LicenseTypeName>
<d2p1:OwnerId>sample string 4</d2p1:OwnerId>
<d2p1:ProductId>9235b6f8-b24a-4bf7-9f1d-50331d8f5e9b</d2p1:ProductId>
<d2p1:ProductIsActive>true</d2p1:ProductIsActive>
<d2p1:ProductName>sample string 5</d2p1:ProductName>
<d2p1:StartDate>2025-12-25T15:50:09.2870557+00:00</d2p1:StartDate>
<d2p1:SubscriptionNumber>sample string 17</d2p1:SubscriptionNumber>
<d2p1:Topic>b002c1d3-ca78-4ce5-b629-d3aa9bdc9ad7</d2p1:Topic>
<d2p1:TopicName>sample string 16</d2p1:TopicName>
<d2p1:UserGroupId>sample string 3</d2p1:UserGroupId>
<d2p1:UserGroupName>sample string 2</d2p1:UserGroupName>
</d2p1:GetUserGroupLicensesResponse>
</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>
</ApiCollectionResponseOfGetUserGroupLicensesResponsegmPb7CtU>