Booked Scheduler Community Support
October 20, 2019, 03:07:42 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: API ChangeGroupUsers function  (Read 214 times)
clarinet
Newbie
*

Karma: 0
Posts: 6


« on: May 17, 2019, 04:50:23 AM »

Does anyone know how is the ChangeGroupUsers functions of the Booked API supposed to work? The documentation here is not very clear.

Quote
Name
ChangeGroupUsers

Description
Updates the permissions for an existing group

Route
/bookedtest/Web/Services/index.php/Groups/:groupId/Users

This service is secure and requires authentication
This service is only available to application administrators

Response
{"groupId":1,"links":[{"href":"http:\/\/url\/to\/group","title":"get_group"},{"href":"http:\/\/url\/to\/update\/group","title":"update_group"},{"href":"http:\/\/url\/to\/delete\/group","title":"delete_group"}],"message":null}

Request
No request

I discovered it requires a POST method, but when I try to send json-encoded data (probably in wrong format) I get Slim Application Error

Quote
The application could not run because of the following error:
Details
Code: 4096
Message: Argument 4 passed to ManageGroupsPresenter::__construct() must be an instance of ScheduleRepository, none given, called in ...

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!