Account Calendars
An AccountCalendar object looks like:
{
// the ID of the account associated with this calendar
"id": 204,
// the name of the account associated with this calendar
"name": "Department of Chemistry",
// the account's parent ID, or null if this is the root account
"parent_account_id": 1,
// the ID of the root account, or null if this is the root account
"root_account_id": 1,
// whether this calendar is visible to users
"visible": true,
// whether users see this calendar's events without needing to manually add it
"auto_subscribe": false,
// number of this account's direct sub-accounts
"sub_account_count": 0,
// Asset string of the account
"asset_string": "account_4",
// Object type
"type": "account",
// url to get full detailed events
"calendar_event_url": "/accounts/2/calendar_events/%7B%7B%20id%20%7D%7D",
// whether the user can create calendar events
"can_create_calendar_events": true,
// API path to create events for the account
"create_calendar_event_url": "/accounts/2/calendar_events",
// url to open the more options event editor
"new_calendar_event_url": "/accounts/6/calendar_events/new"
}List available account calendars
GET /api/v1/account_calendars
Request Parameters:
Parameter
Type
Description
Example Request:
Get a single account calendar
GET /api/v1/account_calendars/:account_id
Example Request:
Update a calendar
PUT /api/v1/account_calendars/:account_id
Request Parameters:
Parameter
Type
Description
Example Request:
Update several calendars
PUT /api/v1/accounts/:account_id/account_calendars
Example Request:
List all account calendars
GET /api/v1/accounts/:account_id/account_calendars
Request Parameters:
Parameter
Type
Description
Example Request:
Count of all visible account calendars
GET /api/v1/accounts/:account_id/visible_calendars_count
Example Request:
Last updated
Was this helpful?