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": "8eb7a6f3-8af5-4e60-a891-3a65894712c4",
"LicenseName": "sample string 2",
"ContactEmail": "sample string 3",
"ContactPersonName": "sample string 4",
"ContactPhone": "sample string 5",
"UserGroup": {
"Id": "5e0a68b7-eba1-4f0d-bf00-b14588014b18",
"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-03-08T00:50:35.4932255+00:00"
},
"Owner": {
"Id": "41070b4f-5be5-437d-8804-2eb8138fd1d2",
"Name": "sample string 2",
"Uvmid": "sample string 3",
"UserGroupId": "188b5605-217b-44da-8bee-48d45f9412af",
"Type": 5,
"TypeName": "sample string 6"
},
"ProductGroup": {
"Id": "adcef420-ae2d-4d0d-bc64-c20d4c51abe2",
"Name": "sample string 2",
"ProductGroupType": 0,
"Products": [
{
"ProductId": "55345a49-6600-42ff-a704-5d4f8d40df25",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "c685d248-524c-4fb6-86cf-55841db8266a",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "3ad0a978-a3d1-4db8-b66d-0de790129ac4",
"Key": "sample string 1"
},
"Topic": {
"Id": "27dcec0e-97d6-4d82-ac2e-7e4f01ec1683",
"Key": "sample string 1"
},
"Target": {
"Id": "b2daf950-1b46-465f-80cc-55fdbcb0f2fb",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"HasSubproducts": true
},
{
"ProductId": "55345a49-6600-42ff-a704-5d4f8d40df25",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "c685d248-524c-4fb6-86cf-55841db8266a",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "3ad0a978-a3d1-4db8-b66d-0de790129ac4",
"Key": "sample string 1"
},
"Topic": {
"Id": "27dcec0e-97d6-4d82-ac2e-7e4f01ec1683",
"Key": "sample string 1"
},
"Target": {
"Id": "b2daf950-1b46-465f-80cc-55fdbcb0f2fb",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"HasSubproducts": true
}
]
},
"Category": {
"Id": "b18514ce-e07a-4288-a0db-bfef2cb2dacf",
"Name": "sample string 2",
"IsDefault": true,
"LicenseCategoryType": 4
},
"StartDate": "2026-03-08T00:50:35.4932255+00:00",
"EndDate": "2026-03-08T00:50:35.4932255+00:00",
"LicenseType": {
"Key": 1,
"Value": "sample string 2"
},
"AccessType": {
"Key": 1,
"Value": "sample string 2"
},
"Grade": "sample string 6",
"UserRoles": [
"3813cb6a-5eb8-442e-9f07-b29db088a0f1",
"0e90c3e2-b053-4a98-aa80-2c1c410a1505"
],
"IsPaused": true,
"SeatUserGroupIds": [
"ae04b300-91a0-42ab-8f6e-e5e73d42d7d4",
"a5b4333f-4bdb-4313-a819-b10a534dbe07"
],
"PrivilegedUserRoles": [
"de02eb8b-10e3-416f-bd7f-d782d3d37e43",
"6257f0c4-af69-4a91-8f7a-f3f514a0a053"
],
"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>b18514ce-e07a-4288-a0db-bfef2cb2dacf</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-03-08T00:50:35.4932255+00:00</d2p1:EndDate>
<d2p1:Grade>sample string 6</d2p1:Grade>
<d2p1:Id>8eb7a6f3-8af5-4e60-a891-3a65894712c4</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>41070b4f-5be5-437d-8804-2eb8138fd1d2</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Type>5</d2p1:Type>
<d2p1:TypeName>sample string 6</d2p1:TypeName>
<d2p1:UserGroupId>188b5605-217b-44da-8bee-48d45f9412af</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>de02eb8b-10e3-416f-bd7f-d782d3d37e43</d3p1:guid>
<d3p1:guid>6257f0c4-af69-4a91-8f7a-f3f514a0a053</d3p1:guid>
</d2p1:PrivilegedUserRoles>
<d2p1:ProductGroup>
<d2p1:Id>adcef420-ae2d-4d0d-bc64-c20d4c51abe2</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>c685d248-524c-4fb6-86cf-55841db8266a</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>3ad0a978-a3d1-4db8-b66d-0de790129ac4</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>55345a49-6600-42ff-a704-5d4f8d40df25</d2p1:ProductId>
<d2p1:ProductKey>sample string 4</d2p1:ProductKey>
<d2p1:ProductName>sample string 2</d2p1:ProductName>
<d2p1:Target>
<d2p1:Id>b2daf950-1b46-465f-80cc-55fdbcb0f2fb</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:Target>
<d2p1:Topic>
<d2p1:Id>27dcec0e-97d6-4d82-ac2e-7e4f01ec1683</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:Topic>
</d2p1:GetAllProductResponse>
<d2p1:GetAllProductResponse>
<d2p1:HasSubproducts>true</d2p1:HasSubproducts>
<d2p1:Imprint>
<d2p1:Id>c685d248-524c-4fb6-86cf-55841db8266a</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>3ad0a978-a3d1-4db8-b66d-0de790129ac4</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>55345a49-6600-42ff-a704-5d4f8d40df25</d2p1:ProductId>
<d2p1:ProductKey>sample string 4</d2p1:ProductKey>
<d2p1:ProductName>sample string 2</d2p1:ProductName>
<d2p1:Target>
<d2p1:Id>b2daf950-1b46-465f-80cc-55fdbcb0f2fb</d2p1:Id>
<d2p1:Key>sample string 1</d2p1:Key>
</d2p1:Target>
<d2p1:Topic>
<d2p1:Id>27dcec0e-97d6-4d82-ac2e-7e4f01ec1683</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>ae04b300-91a0-42ab-8f6e-e5e73d42d7d4</d3p1:guid>
<d3p1:guid>a5b4333f-4bdb-4313-a819-b10a534dbe07</d3p1:guid>
</d2p1:SeatUserGroupIds>
<d2p1:StartDate>2026-03-08T00:50:35.4932255+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>5e0a68b7-eba1-4f0d-bf00-b14588014b18</d2p1:Id>
<d2p1:InstitutionNumber>sample string 3</d2p1:InstitutionNumber>
<d2p1:LastSynchonized>2026-03-08T00:50:35.4932255+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>3813cb6a-5eb8-442e-9f07-b29db088a0f1</d3p1:guid>
<d3p1:guid>0e90c3e2-b053-4a98-aa80-2c1c410a1505</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>