License API
Products
List Products
4 min
tab examples url api v4 products name api v4 products method get request pathparameters queryparameters headerparameters kind required name date type string children description in rfc7231 format see license api authorization eg thu 17 nov 2022 20 51 35 gmt kind required name authorization type string children description see license api authorization article bodydataparameters formdataparameters results languages id qlx3ifr3fpkeqnnhkuaxk code n n created at 2023 07 15t10 23 15 000z n updated at 2024 05 20t10 19 32 000z n id 1689416595016925 n product name abc n short code def n active true n valid duration n trial days 307 n max activations 1 n hardware id required false n is upgrade false n company id 276 n allow trial true n enable maintenance period false n floating users 0 n is floating false n is node locked true n is user locked false n maintenance duration n subscription duration n default license type perpetual n max consumptions 1 n authorization method license key n prevent vm false n allow overages false n consumption period null n max overages 0 n reset consumption false n is archived false n is floating cloud false n floating timeout 120 n is bundle false n metadata n a 1 n n features n n id 535 n code b n feature type consumption n max consumption 1 n metadata n a b n k m n n n n id 609 n code x n feature type consumption n max consumption 1 n metadata n n n n language 200 customlabel id r7pnangflvc8rz1icgrv8 code n unknown product provided product code x was not found n missing headers must have required property authorization n missing parameters missing parameters n language 404 customlabel selectedlanguageid qlx3ifr3fpkeqnnhkuaxk examples languages id 746pimyzys67xztczunvc language curl code curl location request get api v4 products n header accept application json n header date string n header authorization string customlabel id k8bciwtmatn4gt61dmq0e language nodejs code var request require request ; nvar options n method get n url api v4 products n headers n accept application json n date string n authorization string n n ; nrequest options function error response n if error throw new error error ; n console log response body ; n ; n customlabel id oc5yc zt4ro cm dazyo language javascript code var myheaders new headers ; nmyheaders append accept application json ; nmyheaders append date string ; nmyheaders append authorization string ; n nvar requestoptions n method get n headers myheaders n redirect follow n ; n nfetch api v4 products requestoptions n then response response text n then result console log result n catch error console log error error ; customlabel id kk fnent8xusln2ijnvbr language python code import requests n nurl api v4 products n npayload nheaders n accept application json n date string n authorization string n n nresponse requests request get url headers headers data payload n nprint response text n customlabel id 6mws64fzwnja50ddenot7 language ruby code require uri nrequire net http n nurl uri api v4 products n nhttp net http new url host url port ; nrequest net http get new url nrequest accept application json nrequest date string nrequest authorization string n nresponse http request request nputs response read body n customlabel selectedlanguageid 746pimyzys67xztczunvc description returns a list of all products currentnewparameter label query parameter value queryparameters schema response body type listproductsresponsebody = ({ active boolean, allow overages boolean, allow trial boolean, authorization method 'license key' | 'user', company id number, consumption period null, default license type 'perpetual' | 'time limited' | 'consumption' | 'subscription', enable maintenance period boolean, floating timeout number, floating users number, hardware id required boolean, id number, is archived boolean, is bundle boolean, is floating cloud boolean, is floating boolean, is node locked boolean, is upgrade boolean, is user locked boolean, maintenance duration string | null, // length of time expressed in days, months or years, e g 5d, 2m, 3y max activations number, max consumptions number, max overages number, prevent vm boolean, product name string, reset consumption boolean, short code string, subscription duration string | null, // length of time expressed in days, months or years, e g 5d, 2m, 3y trial days 0, valid duration string | null, // date string in full iso 8601 format, e g "2024 09 27t23 30 48 016z" created at string, updated at string, metadata json, features \[ { id number, code string, feature type 'activation' | 'consumption', max consumption number, metadata json } ] })\[]; json schema 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 } list of exceptions