Update room details using API
I'm attempting to use the API endpoint https://solutions.teamdynamix.com/TDWebApi/api/locations/{id}/rooms/{roomId} to update a room. I am using Python for this request. Here's the relevant parts of my code:
Answer (1)
Hello Justin,
First, are you making that call using the PUT command?
And secondly, the endpoint in question has an access note stating: This action requires the "All: Create and modify the list of locations and their rooms" permission.
Did you verify that your account you're signing into the API with has that security role permission?
(You'll need to be signing into the API with a User or Service Account that exists in the TDAdmin > Users & Roles > Users area of TDAdmin, not the Admin API Service account located at the root level of TDAdmin).
Sincerely,
Mark Sayers
Sr Support Consultant, CS