GET api/user/elasticSearchLicenseCheck?username={username}&productIsbn={productIsbn}&identifier={identifier}
Checks license for user and product in elasticsearch
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username |
Username |
string |
Required |
| productIsbn |
Product isbn |
string |
Required |
| identifier |
Identifier |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
LicenseDetailsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Sex | string |
None. |
|
| IsValid | boolean |
None. |
|
| Message | string |
None. |
|
| InstitutionId | string |
None. |
|
| InstitutionName | string |
None. |
|
| LicenseType | integer |
None. |
|
| AccessType | integer |
None. |
|
| ClassName | string |
None. |
|
| GradeLevel | string |
None. |
|
| UserId | globally unique identifier |
None. |
|
| UserType | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Sex": "sample string 4",
"IsValid": true,
"Message": "sample string 6",
"InstitutionId": "sample string 7",
"InstitutionName": "sample string 8",
"LicenseType": 9,
"AccessType": 10,
"ClassName": "sample string 11",
"GradeLevel": "sample string 12",
"UserId": "b6c5eb6a-2549-4c4a-bae5-6bc02171c07b",
"UserType": "sample string 14"
}
application/xml, text/xml
Sample:
<LicenseDetailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses"> <AccessType>10</AccessType> <ClassName>sample string 11</ClassName> <GradeLevel>sample string 12</GradeLevel> <InstitutionId>sample string 7</InstitutionId> <InstitutionName>sample string 8</InstitutionName> <IsValid>true</IsValid> <LicenseType>9</LicenseType> <Message>sample string 6</Message> <UserId>b6c5eb6a-2549-4c4a-bae5-6bc02171c07b</UserId> <UserType>sample string 14</UserType> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <Sex>sample string 4</Sex> <UserName>sample string 1</UserName> </LicenseDetailsResponse>