REST Resource: customerLicense

資源:CustomerLicense

JSON 表示法
{
  "kind": string,
  "state": string,
  "applicationId": string,
  "editions": [
    {
      object (Editions)
    }
  ],
  "id": string,
  "customerId": string
}
欄位
kind

string

API 資源類型。這個值一律為 appsmarket#customerLicense

state

string

顧客的授權狀態。下列其中一項權限:

  • ACTIVE:顧客持有有效執照。
  • UNLICENSED:沒有授權。這位顧客從未安裝您的應用程式,或是已刪除應用程式。
applicationId

string

與此授權查詢相應的應用程式 ID。

editions[]
(deprecated)

object (Editions)

(已淘汰)

id

string

客戶授權的 ID。

customerId

string

客戶的網域名稱。

版本

JSON 表示法
{
  "editionId": string,
  "seatCount": integer,
  "assignedSeats": integer
}
欄位
editionId
(deprecated)

string

(已淘汰)

seatCount
(deprecated)

integer

(已淘汰)

assignedSeats
(deprecated)

integer

(已淘汰)

方法

get

取得顧客的授權狀態,判斷他們是否能存取特定應用程式。