GET api/GetLicenseAnonymized?userId={userId}&productKey={productKey}&institutionNumber={institutionNumber}&parentProductKey={parentProductKey}&classLevel={classLevel}

Gets anonymized information about user licence for specific product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

User id that is returned in loging process.

globally unique identifier

Required

productKey

Product uniq ISBN number

string

Required

institutionNumber

Optional contextidentifier or institution number as a fallback

string

None.

parentProductKey

Optional parent product key used for reporting purposes

string

None.

classLevel

Optional class level used for reporting purposes

integer

None.

Body Parameters

None.

Response Information

Resource Description

Returns user details in context of account and product

LicenseBaseResponse
NameDescriptionTypeAdditional information
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/xml, text/xml

Sample:
<LicenseBaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
  <AccessType>6</AccessType>
  <ClassName>sample string 7</ClassName>
  <GradeLevel>sample string 8</GradeLevel>
  <InstitutionId>sample string 3</InstitutionId>
  <InstitutionName>sample string 4</InstitutionName>
  <IsValid>true</IsValid>
  <LicenseType>5</LicenseType>
  <Message>sample string 2</Message>
  <UserId>44c00d06-2e69-4731-9218-aa98bfe4074f</UserId>
  <UserType>sample string 10</UserType>
</LicenseBaseResponse>

application/json, text/json

Sample:
{
  "IsValid": true,
  "Message": "sample string 2",
  "InstitutionId": "sample string 3",
  "InstitutionName": "sample string 4",
  "LicenseType": 5,
  "AccessType": 6,
  "ClassName": "sample string 7",
  "GradeLevel": "sample string 8",
  "UserId": "44c00d06-2e69-4731-9218-aa98bfe4074f",
  "UserType": "sample string 10"
}