Method: partners.opportunities.get

  • This page details how to get an Opportunity using an HTTP GET request.

  • The request requires a name path parameter in the format partners/{partner_id}/opportunities/{opportunity_id}.

  • The request body must be empty, and a successful response contains an instance of Opportunity.

  • Authorization requires the https://www.googleapis.com/auth/cloudcrmpartners OAuth scope.

Gets an Opportunity.

HTTP request

GET https://cloudcrmpartners.googleapis.com/v1/{name=partners/*/opportunities/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Format: "partners/{partner_id}/opportunities/{opportunity_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/cloudcrmpartners

For more information, see the OAuth 2.0 Overview.