2.3 Yanıt

<< İçindekileri Görüntülemek İçin Tıklayın >>

Yer:  Teknik Kılavuzlar > Netsim System Agent İstemci Protokolü Referansı > 2. POST /ClientREST/OpenSession >

2.3 Yanıt

{
  "result": true,
  "AgentVersion": "5.2.0.1540",
  "LicenseInfo": {
    "Version": 4,
    "SystemId": "<makine GUID>",
    "OwnerUserName": "...", "OwnerName": "...", "ActivationCode": "...", "OrgUnit": "...",
    "Contract": "...",
    "ValidationKey": "<md5(RS + doğrulama verisi + rastgele)>",
    "Licenses": [
      { "ProductId": 5, "ModuleId": 1, "Count": 10, "LicenseKey": "...", "ParentLicenseKey": "",
        "LicenseType": "...", "ProductName": "...", "ProductType": "...", "ProductTitle": "...",
        "ProductVersion": "...", "SubscriptionEnd": "2027-01-01", "ExecutionEnd": "2099-01-01",
        "Platform": "...", "Provider": "...",
        "TotalCount": 10, "TotalUsedCount": 3, "TotalBonusUsed": 0 }
    ]
  }
}

Licenses yalnızca Products'ta anılan ürünlerin lisanslarını taşır (Products 0 içeriyorsa — yönetim oturumu — hepsini). TotalCount/TotalUsedCount/TotalBonusUsed yalnızca kullanıcı sayılan modüllerde (1, 10, 11) bulunur.