Closed Xcodo closed 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.
@mcfadden thanks for the super quick response.
Yes, the 500 response is sorted.
@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!
Great. Thanks again.
Now just to figure out how to display all the data!
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):
people/{userId}/person_team_position_assignments
endpoint always returns a 500 response codepeople/{userId}/plan_people
endpoint returns the correct results for me, but gives a 403 response for all other team membersAPI endpoint I'm using:
https://api.planningcenteronline.com/services/v2/people/{userId}
https://api.planningcenteronline.com/services/v2/people/{userId}/blockouts
https://api.planningcenteronline.com/services/v2/people/{userId}/person_team_position_assignments
https://api.planningcenteronline.com/services/v2/people/{userId}/plan_people
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)