- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ClientData
- Date
- Try it!
Returns a list of clients managed by the sales partner organization.
User needs to be an OrgAdmin/BillingAdmin on the sales partner organization in order to view the end clients.
HTTP request
POST https://marketingplatformadmin.googleapis.com/v1alpha/{organization=organizations/*}:findSalesPartnerManagedClients
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
organization |
Required. The name of the sales partner organization. Format: organizations/{org_id} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "isActive": boolean } |
| Fields | |
|---|---|
isActive |
Optional. If set, only active and just ended clients will be returned. |
Response body
Response message for organizations.findSalesPartnerManagedClients RPC.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"clientData": [
{
object ( |
| Fields | |
|---|---|
clientData[] |
The clients managed by the sales org. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/marketingplatformadmin.analytics.readhttps://www.googleapis.com/auth/marketingplatformadmin.analytics.update
ClientData
Contains the client data.
| JSON representation |
|---|
{ "organization": { object ( |
| Fields | |
|---|---|
organization |
The end client that has/had contract with the requested sales org. |
startDate |
The start date of the contract between the sales org and the end client. |
endDate |
The end date of the contract between the sales org and the end client. |
Date
Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:
- A full date, with non-zero year, month, and day values.
- A month and day, with a zero year (for example, an anniversary).
- A year on its own, with a zero month and a zero day.
- A year and month, with a zero day (for example, a credit card expiration date).
Related types:
google.type.TimeOfDaygoogle.type.DateTimegoogle.protobuf.Timestamp
| JSON representation |
|---|
{ "year": integer, "month": integer, "day": integer } |
| Fields | |
|---|---|
year |
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. |
month |
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. |
day |
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. |