...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "features": [ { "_id": 14, "archivationdate": 0, "archived": false, "crmid": "", "defaultLicense": { "canexclude": false, "canmodify": false, "consumptionmode": 0, "flags": 4, "isremote": false, "licensingmodel": 2, "netlicensescount": 0, "rentbegindate": 1565273129, "rentdayscount": 0, "rentenddate": 1596895529, "runcounter": 0 }, "description": "f4", "featurenumber": 4, "pubkey":"F9 E5 EC 6B 52 54 BC 80 45 7D 49 BB F0 61 F9 F2 EC AA 9F 63 79 32 0A B6 77 44 8A E7 16 AC C1 82 8A 14 73 1E 56 B6 EF 53" "license": { "consumptionmode": 0, "flags": 4, "isExcluded": 0, "isremote": false, "licensingmodel": 2, "netlicensescount": 0, "rentbegindate": 1565273129, "rentdayscount": 0, "rentenddate": 1596895529, "runcounter": 0 }, "name": "f4", "refid": "" }, { "_id": 31, "archivationdate": 0, "archived": false, "crmid": "", "defaultLicense": { "canexclude": true, "canmodify": true, "consumptionmode": 0, "flags": 4, "isremote": true, "licensingmodel": 1, "netlicensescount": 11, "rentbegindate": 0, "rentdayscount": 0, "rentenddate": 0, "runcounter": 0 }, "description": "Created by postMan", "featurenumber": 8, "pubkey":"F9 E5 EC 6B 52 54 BC 80 45 7D 49 BB F0 61 F9 F2 EC AA 9F 63 79 32 0A B6 77 44 8A E7 16 AC C1 82 8A 14 73 1E 56 B6 EF 53" "license": { "consumptionmode": 0, "flags": 4, "isExcluded": 1, "isremote": true, "licensingmodel": 1, "netlicensescount": 11, "rentbegindate": 0, "rentdayscount": 0, "rentenddate": 0, "runcounter": 0 }, "name": ",PostMan", "refid": "" } ] } |
Изменение
...
лицензионных условий для фичи продукта в заказе
Авторизация требуется. Входные параметры RAW JSON (набор полей зависит от типа лицензирования):
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "licensingmodel": 4, "licenseRentBeginDate" : 0, "licenseRentEndDate" : 0, "licenseRentDaysCount" : 55, "licenseNetLicenseCount" : 12, "consumptionmode" : 0, "flags" : 0, "licenseRuncounter": 0, "isRemote": true } |
PUT /v1.0/orders/{id}/products/{pid}/features/{fid}
...