Jump to: navigation, search

Query Business Calendars

Method

GET

Syntax

 
/grs/v1/tenant/{tenantId}/package/{packageId}/calendars

Request Body

N/A

Response Body

 
"calendars": [
{
"calendarId": "dcc4a39b-3442-4408-a907-b85c44663681",
"extCalendarId": "Calendar_117",
"name": "Dad's Dating Calendar",
"locked": false,
"lockOwner": null,
"weekStarts": 6,
"weekEnds": 7,
"dayStartsHour": 17,
"dayStartsMin": 30,
"dayEndsHour": 23,
"dayEndsMin": 0,
"timeZoneId": "EST"
},
{
"calendarId": "fdc4a39b-3442-4408-a907-b85c44663622",
"extCalendarId": "Calendar_190",
"name": "Another Calendar",
"locked": false,
"lockOwner": null,
"weekStarts": 1,
"weekEnds": 7,
"dayStartsHour": 8,
"dayStartsMin": 30,
"dayEndsHour": 11,
"dayEndsMin": 0,
"timeZoneId": "America/Cayman"
}
]}

HTTP Status Codes

  • 200 OK—Response body provided
  • 401 Unauthorized—APIToken not valid
  • 403 Forbidden—User does not have permission for the specified tenant ID, or does not have the correct permission for this operation.
  • 404 Not Found—could not find specified package ID.
  • 503—Service Unavailable

Notes

Need CALENDAR_VIEW permission.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on May 16, 2017, at 00:20.