GET api/Licenses?isAvailable={isAvailable}

Returns a list of license structures

Request Information

URI Parameters

NameDescriptionTypeAdditional information
isAvailable

Only available license

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of LicensesModels
NameDescriptionTypeAdditional 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:28:58.6397314Z",
    "Transaction": "sample string 9",
    "User": "sample string 10",
    "UserID": "sample string 11"
  },
  {
    "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:28:58.6397314Z",
    "Transaction": "sample string 9",
    "User": "sample string 10",
    "UserID": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLicensesModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <LicensesModels>
    <ComputerName>sample string 3</ComputerName>
    <DateExpired>2024-11-21T07:28:58.6397314Z</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>
  <LicensesModels>
    <ComputerName>sample string 3</ComputerName>
    <DateExpired>2024-11-21T07:28:58.6397314Z</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>
</ArrayOfLicensesModels>