GET PlanCare2Api/Calendars/TeamCalendars/{teamCalendarId}/GroupCalendars
Gets all group calendars in team calendar for loggedon employee Id of the team calendar for which to get the group calendars
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| teamCalendarId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of allowed group calendars in the given team calendar
Collection of Calendar| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id of the calendar |
integer |
None |
| Name |
Name of the calendar |
string |
None |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Id": 1,
"Name": "sample string 2"
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfCalendar xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Calendar">
<Calendar>
<Id>1</Id>
<Name>sample string 2</Name>
</Calendar>
<Calendar>
<Id>1</Id>
<Name>sample string 2</Name>
</Calendar>
</ArrayOfCalendar>