Method: accounts.invitations.list

列出指定帳戶的待回覆邀請。

HTTP 要求

GET https://mybusiness.googleapis.com/v4/{parent=accounts/*}/invitations

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

要擷取邀請清單的帳戶名稱。

查詢參數

參數
targetType

enum (TargetType)

指定要在回應中顯示的目標類型。

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體即會包含具有以下結構的資料:

AccessControl.List 邀請 s 的回應訊息。

JSON 表示法
{
  "invitations": [
    {
      object (Invitation)
    }
  ]
}
欄位
invitations[]

object (Invitation)

帳戶中待處理的地點邀請。這裡列出的邀請數不得超過 1000。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/plus.business.manage
  • https://www.googleapis.com/auth/business.manage

詳情請參閱 OAuth 2.0 總覽

TargetType

邀請適用的目標類型。

列舉
ALL 列出所有目標類型的邀請。此為預設值。
ACCOUNTS_ONLY 僅列出帳戶類型的邀請。
LOCATIONS_ONLY 僅列出「地區」類型的邀請。