Method GetLicenceInfo
GetLicenceInfo(String)
Retrieve licence informations
Declaration
LicenceInfoContract GetLicenceInfo(string connectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
Returns
Type | Description |
---|---|
LicenceInfoContract | Licence informations |
Examples
POST http://YourServerName/InfoShare/Json/Server/GetLicenceInfo
Example for retrieve licenses informations.{
"connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a"
}
Response:
{
"GetLicenceInfoResult": {
"ApplicationLicences": 0,
"City": "Oberriet",
"CompanyName": "Kendox AG",
"ComputerName": "VKOJDEV01",
"ConcurrentLicences": 10,
"Country": "Schweiz",
"CreationDate": "2019-07-23T22:00:00",
"Department": "",
"ExpirationDate": "2020-12-30T23:00:00",
"LicenceId": 5815,
"LicencedFeatures": [{
"ConcurrentUsers": 0,
"Count": 0,
"DisplayName": "Office Vorschau",
"Enabled": true,
"Name": "4aeb61fd-a94a-4bfa-8193-f0996dc20bd3",
"NamedUsers": 0
}, ... {
"ConcurrentUsers": 0,
"Count": 0,
"DisplayName": "SearchCenter.EnterpriseVault",
"Enabled": true,
"Name": "277a4e30-bc31-48b2-84a4-73640dbf88fc",
"NamedUsers": 0 }],
"LicenseTypeEnum": "Full",
"NamedLicences": 1,
"ZIP": "9463" }
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |