服務:businesscommunications.googleapis.com
如要呼叫這項服務,建議您使用 Google 提供的範例。如果您的應用程式需要使用您自己的程式庫來呼叫這項服務,請在發出 API 要求時使用下列資訊。
探索文件
探索文件是一種機器可解讀的規格,用於說明和使用 REST API。此文件用於建構用戶端程式庫、IDE 外掛程式,以及與 Google API 互動的其他工具。一項服務可能會提供多個探索文件。這項服務提供下列探索文件:
服務端點
服務端點是指定 API 服務網路位址的基準網址。一項服務可能有多個服務端點。這項服務有以下服務端點,且下方的 URI 皆以此服務端點為基準:
https://businesscommunications.googleapis.com
REST 資源:v1.brands
REST 資源:v1.brands.agents
方法 | |
---|---|
create |
POST /v1/{parent=brands/*}/agents 建立新的代理程式,用於代表品牌。 |
delete |
DELETE /v1/{name=brands/*/agents/*} 刪除服務專員。 |
get |
GET /v1/{name=brands/*/agents/*} 取得代理程式相關資訊。 |
getLaunch |
GET /v1/{name=brands/*/agents/*/launch} 取得代理程式的啟動資訊。 |
getVerification |
GET /v1/{name=brands/*/agents/*/verification} 取得服務專員的驗證資訊。 |
list |
GET /v1/{parent=brands/*}/agents 列出與品牌相關聯的所有代理人。 |
patch |
PATCH /v1/{agent.name=brands/*/agents/*} 更新服務專員相關資訊。 |
requestLaunch |
POST /v1/{name=brands/*/agents/*}:requestLaunch 開始啟動代理程式。 |
requestVerification |
POST /v1/{name=brands/*/agents/*}:requestVerification 開始驗證代理程式的商家資訊。 |
updateLaunch |
PATCH /v1/{agentLaunch.name=brands/*/agents/*/launch} 更新代理程式的啟動資訊。 |
updateVerification |
PATCH /v1/{agentVerification.name=brands/*/agents/*/verification} 更新服務專員的驗證狀態。 |
REST 資源:v1.brands.agents.integrations
方法 | |
---|---|
create |
POST /v1/{parent=brands/*/agents/*}/integrations 建立整合。 |
delete |
DELETE /v1/{name=brands/*/agents/*/integrations/*} 刪除整合。 |
get |
GET /v1/{name=brands/*/agents/*/integrations/*} 取得整合功能。 |
list |
GET /v1/{parent=brands/*/agents/*}/integrations 列出整合項目。 |
patch |
PATCH /v1/{integration.name=brands/*/agents/*/integrations/*} 更新整合。 |
REST 資源:v1.brands.locations
方法 | |
---|---|
create |
POST /v1/{parent=brands/*}/locations 為品牌建立新地點。 |
delete |
DELETE /v1/{name=brands/*/locations/*} 刪除位置。 |
get |
GET /v1/{name=brands/*/locations/*} 取得位置的相關資訊。 |
getLaunch |
GET /v1/{name=brands/*/locations/*/launch} 取得位置的啟動資訊。 |
getVerification |
GET /v1/{name=brands/*/locations/*/verification} 取得位置的驗證資訊。 |
list |
GET /v1/{parent=brands/*}/locations 列出品牌的所有地點。 |
patch |
PATCH /v1/{location.name=brands/*/locations/*} 更新位置資訊。 |
requestLaunch |
POST /v1/{name=brands/*/locations/*}:requestLaunch 開始啟動位置的程序。 |
requestVerification |
POST /v1/{name=brands/*/locations/*}:requestVerification 開始驗證位置。 |
updateLaunch |
PATCH /v1/{locationLaunch.name=brands/*/locations/*/launch} 更新某個位置的啟動資訊。 |
REST 資源:v1.partners
REST 資源:v1.surveyQuestions
方法 | |
---|---|
list |
GET /v1/surveyQuestions 列出所有 Google 預先定義的問卷調查問題。 |