Group
Create Group
Instance
Billable Item
Booking
Calendar Subscription
Invoice
Quote
Invoice Template
Project
Time Activity
Group
Create Group
WRITE
access to the ADMIN
module is required to access this endpointPOST
/
v2
/
group
curl --request POST \
--url https://api.sonderplan.com/v2/group \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Video Editors",
"description": "Full schedule access, limited project access",
"members": [
{
"id": 4,
"first_name": "Jane",
"last_name": "Smith",
"primary_email": "[email protected]"
}
],
"acl_schedule": "R-",
"acl_project": "R-",
"acl_task": "R-",
"acl_finance": "R-",
"acl_report": "R-",
"acl_contact": "R-",
"acl_admin": "R-",
"acl_account": "R-"
}'
{
"success": {
"id": 2384
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Standard group model that returns all properties by default
Response
200
application/json
Successful Operation
The response is of type object
.
curl --request POST \
--url https://api.sonderplan.com/v2/group \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Video Editors",
"description": "Full schedule access, limited project access",
"members": [
{
"id": 4,
"first_name": "Jane",
"last_name": "Smith",
"primary_email": "[email protected]"
}
],
"acl_schedule": "R-",
"acl_project": "R-",
"acl_task": "R-",
"acl_finance": "R-",
"acl_report": "R-",
"acl_contact": "R-",
"acl_admin": "R-",
"acl_account": "R-"
}'
{
"success": {
"id": 2384
}
}