取得指定帳戶中的所有指定地點。
HTTP 要求
POST https://mybusiness.googleapis.com/v4/{name=accounts/*}/locations:batchGet
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
| name | 
 要擷取位置的帳戶名稱。 | 
要求主體
要求主體的資料會採用以下結構:
| JSON 表示法 | |
|---|---|
| { "locationNames": [ string ] } | |
| 欄位 | |
|---|---|
| locationNames[] | 
 要擷取的位置集合,以名稱指定。 | 
回應主體
如果成功,回應主體會含有以下結構的資料:
Locations.BatchGetLocations 的回應訊息。
| JSON 表示法 | |
|---|---|
| {
  "locations": [
    {
      object ( | |
| 欄位 | |
|---|---|
| locations[] | 
 一組地點。 | 
授權範圍
需要下列其中一種 OAuth 範圍:
- https://www.googleapis.com/auth/plus.business.manage
- https://www.googleapis.com/auth/business.manage
詳情請參閱 OAuth 2.0 總覽。