- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Returns the requested Opportunity
resource.
Possible error codes:
- PERMISSION_DENIED: The user making the request isn't allowed to view the opportunity.
- INVALID_ARGUMENT: Required request parameters are missing or invalid.
- NOT_FOUND: No
Opportunity
resource found for the name in the request.
Return value: The Opportunity
resource.
HTTP request
GET https://cloudchannel.googleapis.com/v1alpha1/{name=opportunities/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the opportunity to retrieve. Format: opportunities/{opportunity} |
Query parameters
Parameters | |
---|---|
partner |
Optional. Provide the Partner Id for which the Opportunity is being retrieved. Format: partner = partners/{id} |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Opportunity
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.order
For more information, see the Authentication Overview.