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 概览