Discussions

Ask a Question
Back to All

"POST Employee Manage Positions" Help

I've been able to successfully use a Python script to update our users' permission groups via the API (employee, scheduler, etc.). The next step would be to update their "Scheduler Permissions" and assign the positions we would like them to manage, but I can't get it to work.

I'm trying the "POST Employee Manage Positions" call using the following syntax:

https://www.humanity.com/api/v2/employees/#######/manage-positions?position_ids= ######

And for each call I'm generating and appending an oauth2 bearer token.

So far I've only gotten the following errors:

"status":12
"data":"Create Failed - Your CREATE request failed"
"error":"You don't have permissions to position(s)."

or

"status":0
"data":NULL
"error":"Resource not found"

Any thoughts or direction would be greatly appreciated.

Thanks!