GET api/licenses/{id}
Returns specific license based on accountId and licenseId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
unique identifier of License |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfGetLicenseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Errors | Collection of string |
None. |
|
| Data | GetLicenseResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Errors": [
"sample string 1",
"sample string 2"
],
"Data": {
"Id": "af2e4b5a-c213-4843-9437-909bc6f20dcb",
"LicenseName": "sample string 2",
"ContactEmail": "sample string 3",
"ContactPersonName": "sample string 4",
"ContactPhone": "sample string 5",
"UserGroup": {
"Id": "43e44771-dcc6-4e98-ada2-574fce44d16b",
"Name": "sample string 2",
"UserGroupType": 0,
"InstitutionNumber": "sample string 3",
"CommuneNumber": "sample string 4",
"ZipCode": "sample string 5",
"City": "sample string 6",
"Email": "sample string 7",
"HasWs17Agreement": true,
"LastSynchonized": "2026-01-02T20:43:59.5300523+00:00"
},
"Owner": {
"Id": "7b5d51d2-1d1e-4489-a573-d56b5c39dc16",
"Name": "sample string 2",
"Uvmid": "sample string 3",
"UserGroupId": "c6c85e05-08d1-4ea7-891e-c393fab27921",
"Type": 5,
"TypeName": "sample string 6"
},
"ProductGroup": {
"Id": "f2fd28f1-1406-45c8-909d-33182004dcdf",
"Name": "sample string 2",
"ProductGroupType": 0,
"Products": [
{
"ProductId": "6c55c207-b286-4d00-aeb0-b0863115f5e5",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "b53aa232-f123-4bc3-bd28-30c6afca2d98",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "791c021a-c695-4ff5-98dd-4651fdc20023",
"Key": "sample string 1"
},
"Topic": {
"Id": "dfda0008-4a88-49b0-b535-d36b6bbe1a5c",
"Key": "sample string 1"
},
"Target": {
"Id": "66c719d4-d575-4f29-89ad-f8192875889a",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"HasSubproducts": true
},
{
"ProductId": "6c55c207-b286-4d00-aeb0-b0863115f5e5",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "b53aa232-f123-4bc3-bd28-30c6afca2d98",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "791c021a-c695-4ff5-98dd-4651fdc20023",
"Key": "sample string 1"
},
"Topic": {
"Id": "dfda0008-4a88-49b0-b535-d36b6bbe1a5c",
"Key": "sample string 1"
},
"Target": {
"Id": "66c719d4-d575-4f29-89ad-f8192875889a",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"HasSubproducts": true
}
]
},
"Category": {
"Id": "29893cdb-bc14-4f01-86e5-47c8816a9e7b",
"Name": "sample string 2",
"IsDefault": true,
"LicenseCategoryType": 4
},
"StartDate": "2026-01-02T20:43:59.5300523+00:00",
"EndDate": "2026-01-02T20:43:59.5300523+00:00",
"LicenseType": {
"Key": 1,
"Value": "sample string 2"
},
"AccessType": {
"Key": 1,
"Value": "sample string 2"
},
"Grade": "sample string 6",
"UserRoles": [
"64702832-6858-43b1-9b77-95a843f51645",
"2afa4193-3ca2-4ef5-b9ac-83fafacdb2a5"
],
"IsPaused": true,
"SeatUserGroupIds": [
"9fef49d3-82ec-40ca-993b-c7d205b650d9",
"aeb1bb30-51c0-4057-83b2-e1d77ecb7f87"
],
"PrivilegedUserRoles": [
"7b40a471-1413-4a44-9bb9-227d799a1ac4",
"8027728f-ae7c-4efc-9502-1f4c56079e3a"
],
"Orders": {
"Key": "sample string 1",
"Value": [
"sample string 1",
"sample string 2"
]
},
"Buffer": 8,
"AvailableSeats": 9
}
}
application/xml, text/xml
Sample:
<ApiResponseOfGetLicenseResponseLgVmlFmJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Api.Common.Response">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d2p1:AccessType xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<d3p1:key>1</d3p1:key>
<d3p1:value>sample string 2</d3p1:value>
</d2p1:AccessType>
<d2p1:AvailableSeats>9</d2p1:AvailableSeats>
<d2p1:Buffer>8</d2p1:Buffer>
<d2p1:Category>
<d2p1:Id>29893cdb-bc14-4f01-86e5-47c8816a9e7b</d2p1:Id>
<d2p1:IsDefault>true</d2p1:IsDefault>
<d2p1:LicenseCategoryType>4</d2p1:LicenseCategoryType>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:Category>
<d2p1:ContactEmail>sample string 3</d2p1:ContactEmail>
<d2p1:ContactPersonName>sample string 4</d2p1:ContactPersonName>
<d2p1:ContactPhone>sample string 5</d2p1:ContactPhone>
<d2p1:EndDate>2026-01-02T20:43:59.5300523+00:00</d2p1:EndDate>
<d2p1:Grade>sample string 6</d2p1:Grade>
<d2p1:Id>af2e4b5a-c213-4843-9437-909bc6f20dcb</d2p1:Id>
<d2p1:IsPaused>true</d2p1:IsPaused>
<d2p1:LicenseName>sample string 2</d2p1:LicenseName>
<d2p1:LicenseType xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<d3p1:key>1</d3p1:key>
<d3p1:value>sample string 2</d3p1:value>
</d2p1:LicenseType>
<d2p1:Orders xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<d3p1:key>sample string 1</d3p1:key>
<d3p1:value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</d3p1:value>
</d2p1:Orders>
<d2p1:Owner>
<d2p1:Id>7b5d51d2-1d1e-4489-a573-d56b5c39dc16</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Type>5</d2p1:Type>
<d2p1:TypeName>sample string 6</d2p1:TypeName>
<d2p1:UserGroupId>c6c85e05-08d1-4ea7-891e-c393fab27921</d2p1:UserGroupId>
<d2p1:Uvmid>sample string 3</d2p1:Uvmid>
</d2p1:Owner>
<d2p1:PrivilegedUserRoles xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>7b40a471-1413-4a44-9bb9-227d799a1ac4</d3p1:guid>
<d3p1:guid>8027728f-ae7c-4efc-9502-1f4c56079e3a</d3p1:guid>
</d2p1:PrivilegedUserRoles>
<d2p1:ProductGroup>
<d2p1:Id>f2fd28f1-1406-45c8-909d-33182004dcdf</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:ProductGroupType>Default</d2p1:ProductGroupType>
<d2p1:Products>
<d2p1:GetAllProductResponse>
<d2p1:HasSubproducts>true</d2p1:HasSubproducts>
<d2p1:Imprint>
<d2p1:Id>b53aa232-f123-4bc3-bd28-30c6afca2d98</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:Imprint>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:Isbn>sample string 3</d2p1:Isbn>
<d2p1:LoginProviderTypes xmlns:d6p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Enums">
<d6p1:LoginProviderType>Unilogin</d6p1:LoginProviderType>
<d6p1:LoginProviderType>Unilogin</d6p1:LoginProviderType>
</d2p1:LoginProviderTypes>
<d2p1:ProductGroupDictionary>
<d2p1:Id>791c021a-c695-4ff5-98dd-4651fdc20023</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>6c55c207-b286-4d00-aeb0-b0863115f5e5</d2p1:ProductId>
<d2p1:ProductKey>sample string 4</d2p1:ProductKey>
<d2p1:ProductName>sample string 2</d2p1:ProductName>
<d2p1:Target>
<d2p1:Id>66c719d4-d575-4f29-89ad-f8192875889a</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:Target>
<d2p1:Topic>
<d2p1:Id>dfda0008-4a88-49b0-b535-d36b6bbe1a5c</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:Topic>
</d2p1:GetAllProductResponse>
<d2p1:GetAllProductResponse>
<d2p1:HasSubproducts>true</d2p1:HasSubproducts>
<d2p1:Imprint>
<d2p1:Id>b53aa232-f123-4bc3-bd28-30c6afca2d98</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:Imprint>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:Isbn>sample string 3</d2p1:Isbn>
<d2p1:LoginProviderTypes xmlns:d6p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Enums">
<d6p1:LoginProviderType>Unilogin</d6p1:LoginProviderType>
<d6p1:LoginProviderType>Unilogin</d6p1:LoginProviderType>
</d2p1:LoginProviderTypes>
<d2p1:ProductGroupDictionary>
<d2p1:Id>791c021a-c695-4ff5-98dd-4651fdc20023</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>6c55c207-b286-4d00-aeb0-b0863115f5e5</d2p1:ProductId>
<d2p1:ProductKey>sample string 4</d2p1:ProductKey>
<d2p1:ProductName>sample string 2</d2p1:ProductName>
<d2p1:Target>
<d2p1:Id>66c719d4-d575-4f29-89ad-f8192875889a</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:Target>
<d2p1:Topic>
<d2p1:Id>dfda0008-4a88-49b0-b535-d36b6bbe1a5c</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:Topic>
</d2p1:GetAllProductResponse>
</d2p1:Products>
</d2p1:ProductGroup>
<d2p1:SeatUserGroupIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>9fef49d3-82ec-40ca-993b-c7d205b650d9</d3p1:guid>
<d3p1:guid>aeb1bb30-51c0-4057-83b2-e1d77ecb7f87</d3p1:guid>
</d2p1:SeatUserGroupIds>
<d2p1:StartDate>2026-01-02T20:43:59.5300523+00:00</d2p1:StartDate>
<d2p1:UserGroup>
<d2p1:City>sample string 6</d2p1:City>
<d2p1:CommuneNumber>sample string 4</d2p1:CommuneNumber>
<d2p1:Email>sample string 7</d2p1:Email>
<d2p1:HasWs17Agreement>true</d2p1:HasWs17Agreement>
<d2p1:Id>43e44771-dcc6-4e98-ada2-574fce44d16b</d2p1:Id>
<d2p1:InstitutionNumber>sample string 3</d2p1:InstitutionNumber>
<d2p1:LastSynchonized>2026-01-02T20:43:59.5300523+00:00</d2p1:LastSynchonized>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:UserGroupType>Default</d2p1:UserGroupType>
<d2p1:ZipCode>sample string 5</d2p1:ZipCode>
</d2p1:UserGroup>
<d2p1:UserRoles xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>64702832-6858-43b1-9b77-95a843f51645</d3p1:guid>
<d3p1:guid>2afa4193-3ca2-4ef5-b9ac-83fafacdb2a5</d3p1:guid>
</d2p1:UserRoles>
</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>
<IsSuccess>true</IsSuccess>
</ApiResponseOfGetLicenseResponseLgVmlFmJ>