GET api/Licenses/{id}
Returns license structures
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
License unique identifier |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
LicensesModelsName | Description | Type | Additional information |
---|---|---|---|
ID |
License unique identifier |
string |
None. |
Number |
License number |
integer |
None. |
ComputerName |
Computer name |
string |
None. |
OperatingSystem |
Operating system |
string |
None. |
IsTrial |
Kind of license: true – trial, false – paid |
boolean |
None. |
IsTaken |
The license in use or not. |
boolean |
None. |
LicenseType |
The type of license |
string |
None. |
DateExpired |
Date Expired of License |
date |
None. |
Transaction |
Transaction of License |
string |
None. |
User |
User of License |
string |
None. |
UserID |
User unique identifier |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": "sample string 1", "Number": 2, "ComputerName": "sample string 3", "OperatingSystem": "sample string 4", "IsTrial": true, "IsTaken": true, "LicenseType": "sample string 7", "DateExpired": "2024-11-21T07:32:02.2274758Z", "Transaction": "sample string 9", "User": "sample string 10", "UserID": "sample string 11" }
application/xml, text/xml
Sample:
<LicensesModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models"> <ComputerName>sample string 3</ComputerName> <DateExpired>2024-11-21T07:32:02.2274758Z</DateExpired> <ID>sample string 1</ID> <IsTaken>true</IsTaken> <IsTrial>true</IsTrial> <LicenseType>sample string 7</LicenseType> <Number>2</Number> <OperatingSystem>sample string 4</OperatingSystem> <Transaction>sample string 9</Transaction> <User>sample string 10</User> <UserID>sample string 11</UserID> </LicensesModels>