AI-generated Key Takeaways
-
Adds a question for a specified location using an HTTP POST request.
-
Requires providing the location name as a path parameter and the question details in the request body as a
Question
object. -
A successful response returns the newly created
Question
object. -
Requires authorization with specific OAuth scopes for business management.
Adds a question for the specified location.
HTTP request
POST https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/questions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The name of the location to write a question for. |
Request body
The request body contains an instance of Question
.
Response body
If successful, the response body contains a newly created instance of Question
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
For more information, see the OAuth 2.0 Overview.