LicenseRequest

Represents a request for a software license

Overview of LicenseRequest goes here.

LicenseRequest Properties

LicenseRequest

Field Type Inherited from Description
AddedBy String LicenseRequest Gets or sets the AddedBy username
Environment String LicenseRequest Gets or sets the environment (e.g., Production, Staging)
IndustryVertical String LicenseRequest Gets or sets the industry vertical
InstanceKey String LicenseRequest Gets or sets the instance key identifying the Keep instance
LicensedBy LicenseCompany LicenseRequest Gets or sets the company issuing the license
Licensee LicenseCompany LicenseRequest Gets or sets the company receiving the license
MetadataBson Byte[] LicenseRequest Gets or sets the MetadataBson additional data
PurchaseOrder String LicenseRequest Gets or sets the purchase order number
RequestingComponents RequestingComponent[] LicenseRequest Gets or sets the components being licensed

JSON Structure of LicenseRequest

{
   "AddedBy"	:	"String",
   "Environment"	:	"String",
   "IndustryVertical"	:	"String",
   "InstanceKey"	:	"String",
   "LicensedBy"	:	"[LicenseCompany](/object-model/licensecompany)",
   "Licensee"	:	"[LicenseCompany](/object-model/licensecompany)",
   "MetadataBson"	:	"Byte[]",
   "PurchaseOrder"	:	"String",
   "RequestingComponents"	:	"[RequestingComponent](/object-model/requestingcomponent)[]"
}

Add License Async

Example in C#

// Returns: LicenseInfo
var licenseInfo = await client.AddLicenseAsync(InstanceInfo instance, String certificate);

Get License Codes Requiring Packages Async

Example in C#

// Returns: IEnumerable<String>
var item = await client.GetLicenseCodesRequiringPackagesAsync(FolderInfo folder);

Get Licenses Async

Example in C#

// Returns: IEnumerable<LicenseInfo>
var licenseInfo = await client.GetLicensesAsync(InstanceInfo instance);