planningcenter / developers

Planning Center API docs and support
https://developer.planning.center/docs/
85 stars 8 forks source link

Can't access service API person endpoints #336

Closed Xcodo closed 7 years ago

Xcodo commented 7 years ago

Detailed Description of the Problem/Question

I'm trying to create a report which lists the availability of team members for upcoming services. I'm having some access problems with some of the endpoints on team members.

I'm an editor on the organisation, and able to view and schedule my team members on the website and Android app.

I've got two probably separate problems (happy to file a separate issue):

API endpoint I'm using:
Programming language I'm using:

C#, though I can replicate the problem with my browser.

Authentication method I'm using:

Personal Access Token and Browser Session (Cookie)

mcfadden commented 7 years ago

Hi @Xcodo,

The 500 response was a result of some bad data in your organization's account. I've cleaned this up, so would you mind giving it another try?

I'm still checking into the permissions issue you mentioned. I'll get back to you with more information shortly.

Xcodo commented 7 years ago

@mcfadden thanks for the super quick response.

Yes, the 500 response is sorted.

mcfadden commented 7 years ago

@Xcodo We've reviewed the permissions for the endpoint you referenced and you're definitely right that the API and web permissions don't match!

I've just deployed a fix for that, so you should be able to get the plan_people endpoint for all users in your organization now.

Thanks for letting us know!

Xcodo commented 7 years ago

Great. Thanks again.

Now just to figure out how to display all the data!