License API
...
Floating
License

Borrow Floating License

12min
send null as a value for borrowed until if you wan't to set borrowed until to max borrow time from now + max borrow time value defined on a license schema request body type borrowfloatinglicenserequestbody = { // required parameters product string, hardware id string, / `borrowed until` is a string in iso 8601 format (always in utc timezone) it contains a date component and optional time component, e g "2024 09 27t23 30 48 016z" "2024 09 27 23 30 48 016" "2024 09 27 23 30 48" "2024 09 27 23 30" "2024 09 27" / borrowed until string, // required for key based products license key string, // required for user based products username string, password string, // optional parameters license id? string | undefined, } json schema response body type borrowfloatinglicenseresponsebody = { borrowed until string, // date in iso8061 format max borrow time number, // hours device id number, license id number, } json schema license authorization method there are two types of product licenses based on how the client application authorizes itself to interact with a license key based product licenses client interactions with the license have to be authorized using a license key user based product licenses the license has a corresponding "license user" instead of a license key client interactions with the license have to be authorized using a username and password errors if an error occurs, the response will have an http status code of 400 or higher, and the response body will contain an error description in the following format { status number, code string, message string } json schema { "$schema" "https //json schema org/draft/2020 12/schema", "type" "object", "properties" { "status" { "type" "number" }, "code" { "type" "string" }, "message" { "type" "string" } }, "required" \[ "status", "code", "message" ], "additionalproperties" false } list of exceptions missing headers (400) some headers are missing missing parameters (400) some parameters are missing in the request { params } unknown product (400) provided product was not found license not found (400) license with the provided license user not found license not active (400) the license is not active license not enabled (400) the license is not enabled license borrow not allowed (400) license does not allow borrowing borrow until not valid (400) borrow until field is not valid device not found (400) an active device matching the hardware id not found blacklisted (400) this device is blacklisted floating not available (400) no available slots for floating license