Method: accounts.locations.batchGet

取得指定帳戶中所有指定地區。

HTTP 要求

POST https://mybusiness.googleapis.com/v4/{name=accounts/*}/locations:batchGet

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

路徑參數

參數
name

string

要擷取營業地點的帳戶名稱。

要求主體

要求主體的資料會採用以下結構:

JSON 表示法
{
  "locationNames": [
    string
  ]
}
欄位
locationNames[]

string

要擷取的位置集合,以名稱指定。

回應主體

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

Locations.BatchGetLocations 的回應訊息。

JSON 表示法
{
  "locations": [
    {
      object (Location)
    }
  ]
}
欄位
locations[]

object (Location)

地點集合。

授權範圍

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

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

詳情請參閱 OAuth 2.0 總覽