GET api/consumer/v1/calendarEvents/favorites
Get all Calendars available for a user
Request Information
URI Parameters
None
Body Parameters
None
Response Information
Resource Description
List of available Calendars
Collection of CalendarFavoriteDtoName | Description | Type | Additional information |
---|---|---|---|
Description |
Description of element |
string |
None |
CalendarFavoriteId |
Id of Calendar Favorite element |
integer |
None |
Type |
Type of Calendar Favorite |
string |
None |
Avatar |
Avatar of the User |
string |
None |
Id |
Unique ID |
integer |
None |
Response Formats
application/json, text/json
Sample:
[ { "Description": "sample string 1", "CalendarFavoriteId": 2, "Type": "sample string 3", "Avatar": "sample string 4", "Id": 5 }, { "Description": "sample string 1", "CalendarFavoriteId": 2, "Type": "sample string 3", "Avatar": "sample string 4", "Id": 5 } ]
application/xml, text/xml
Sample:
<ArrayOfCalendarFavoriteDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <CalendarFavoriteDto> <Id>5</Id> <Avatar>sample string 4</Avatar> <CalendarFavoriteId>2</CalendarFavoriteId> <Description>sample string 1</Description> <Type>sample string 3</Type> </CalendarFavoriteDto> <CalendarFavoriteDto> <Id>5</Id> <Avatar>sample string 4</Avatar> <CalendarFavoriteId>2</CalendarFavoriteId> <Description>sample string 1</Description> <Type>sample string 3</Type> </CalendarFavoriteDto> </ArrayOfCalendarFavoriteDto>