cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
354
Views
1
Helpful
2
Replies

Partner Read-Only - Return list of customers

Heath-Lexcen
Level 1
Level 1

Hi we have a read only partner account and I'm trying to return a list of customers that they manage.
This works fine with a Partner Full Admin using /wholesale/customers, and /organization endpoints.
For the Read-Only account it returns a blank list for customers, and only the current organization the account is part of.
We have scopes: spark-admin:wholesale_customers_read, spark-admin:organizations_read, and spark:organizations_read for the token.
In the API documentation there is a section to use /partner/organizations with managedBy query param but that returns:

{
    "message": "The user already has access to all customers managed by their partner organization.",
    "errors": [
        {
            "description": "The user already has access to all customers managed by their partner organization."
        }
    ],
    "trackingId": "ROUTERGW_be9b20a8-ef80-4df2-99cc-f8f6dac7b451"
}
which doesn't really help list the available orgs.

I can log into Partner Hub fine with this account and access customers as normal.

Is there something I'm missing here?
Thanks,
Heath

 

2 Replies 2

Janos Benyovszki
Cisco Employee
Cisco Employee

@Heath-Lexcen it might be best to open a ticket for this, since we would need to look up a few things, including the emails of those users you are using.

In the ticket please add:

- the doc section that you are referring to? What's the URL link?

- the email of both users who are able to query /wholesale/customers, and /organization endpoints

You can open a ticket here https://developer.webex.com/support . Thanks

Thanks Janos,
I have logged a ticket and they are looking into it.
I will post results here if they are helpful