C# Class PodioAPI.Services.CalendarService

Mostrar archivo Open project: podio/podio-dotnet

Public Methods

Method Description
CalendarService ( Podio currentInstance ) : System
GetAppCalendar ( int appId, System.DateTime dateFrom, System.DateTime dateTo, int priority = null ) : Task>

Returns the items and tasks that are related to the given app.

Podio API Reference: https://developers.podio.com/doc/calendar/get-app-calendar-22460

GetAppCalendarAsiCal ( int appId, int userId, string token ) : Task

Returns the app calendar in the iCal format 90 days into the future. The CalendarCode / Token can retrieved by getting the user status.

Podio API Reference: https://developers.podio.com/doc/calendar/get-app-calendar-as-ical-22515

GetCalendarSummary ( int limit = 5, int priority = 1 ) : Task

Returns the calendar summary for the active user.

Podio API Reference: https://developers.podio.com/doc/calendar/get-calendar-summary-1609256

GetCalendarSummaryForPersonal ( int limit = 5, int priority = 1 ) : Task

Returns the calendar summary for personal tasks and personal spaces and sub-orgs.

Podio API Reference: https://developers.podio.com/doc/calendar/get-calendar-summary-for-personal-1657903

GetCalendarSummaryForSpace ( int spaceId, int limit = 5, int priority = 1 ) : Task

Returns the calendar summary for the given space for the active user.

Podio API Reference: https://developers.podio.com/doc/calendar/get-calendar-summary-for-space-1609328

GetGlobalCalendar ( System.DateTime dateFrom, System.DateTime dateTo, int priority = null ) : Task>

Returns all items that the user have access to and all tasks that are assigned to the user.

Podio API Reference: https://developers.podio.com/doc/calendar/get-global-calendar-22458

GetGlobalCalendarAsiCal ( int userId, string token ) : Task

Returns the users global calendar in the iCal format 90 days into the future. The CalendarCode / Token can retrieved by getting the user status.

Podio API Reference: https://developers.podio.com/doc/calendar/get-global-calendar-as-ical-22513

GetSpaceCalendar ( int spaceId, System.DateTime dateFrom, System.DateTime dateTo, int priority = null ) : Task>

Returns all items and tasks that the user have access to in the given space. Tasks with reference to other spaces are not returned or tasks with no reference.

Podio API Reference: https://developers.podio.com/doc/calendar/get-space-calendar-22459

GetSpaceCalendarAsiCal ( int spaceId, int userId, string token ) : Task

Returns the space calendar in the iCal format 90 days into the future. The CalendarCode / Token can retrieved by getting the user status.

Podio API Reference: https://developers.podio.com/doc/calendar/get-space-calendar-as-ical-22514

GetTaskCalendarAsiCal ( int taskId ) : Task

Returns the calendar for the given task in the iCal format.

Podio API Reference: https://developers.podio.com/doc/calendar/get-task-calendar-as-ical-10195650

UpdateCalendarEvent ( int uid, System.DateTime startDateTime, System.DateTime endDateTime ) : Task

Method Details

CalendarService() public method

public CalendarService ( Podio currentInstance ) : System
currentInstance Podio
return System

GetAppCalendar() public method

Returns the items and tasks that are related to the given app.

Podio API Reference: https://developers.podio.com/doc/calendar/get-app-calendar-22460

public GetAppCalendar ( int appId, System.DateTime dateFrom, System.DateTime dateTo, int priority = null ) : Task>
appId int
dateFrom System.DateTime The date to return events from
dateTo System.DateTime The date to search to
priority int The minimum priority for the events to return Default value: 1
return Task>

GetAppCalendarAsiCal() public method

Returns the app calendar in the iCal format 90 days into the future. The CalendarCode / Token can retrieved by getting the user status.

Podio API Reference: https://developers.podio.com/doc/calendar/get-app-calendar-as-ical-22515

public GetAppCalendarAsiCal ( int appId, int userId, string token ) : Task
appId int
userId int
token string
return Task

GetCalendarSummary() public method

Returns the calendar summary for the active user.

Podio API Reference: https://developers.podio.com/doc/calendar/get-calendar-summary-1609256

public GetCalendarSummary ( int limit = 5, int priority = 1 ) : Task
limit int The maximum number of events to return in each group Default value: 5
priority int The minimum priority for the events to return Default value: 1
return Task

GetCalendarSummaryForPersonal() public method

Returns the calendar summary for personal tasks and personal spaces and sub-orgs.

Podio API Reference: https://developers.podio.com/doc/calendar/get-calendar-summary-for-personal-1657903

public GetCalendarSummaryForPersonal ( int limit = 5, int priority = 1 ) : Task
limit int The maximum number of events to return in each group Default value: 5
priority int The minimum priority for the events to return Default value: 1
return Task

GetCalendarSummaryForSpace() public method

Returns the calendar summary for the given space for the active user.

Podio API Reference: https://developers.podio.com/doc/calendar/get-calendar-summary-for-space-1609328

public GetCalendarSummaryForSpace ( int spaceId, int limit = 5, int priority = 1 ) : Task
spaceId int
limit int The maximum number of events to return in each group Default value: 5
priority int The minimum priority for the events to return Default value: 1
return Task

GetGlobalCalendar() public method

Returns all items that the user have access to and all tasks that are assigned to the user.

Podio API Reference: https://developers.podio.com/doc/calendar/get-global-calendar-22458

public GetGlobalCalendar ( System.DateTime dateFrom, System.DateTime dateTo, int priority = null ) : Task>
dateFrom System.DateTime The date to return events from
dateTo System.DateTime The date to search to
priority int The minimum priority for the events to return Default value: 1
return Task>

GetGlobalCalendarAsiCal() public method

Returns the users global calendar in the iCal format 90 days into the future. The CalendarCode / Token can retrieved by getting the user status.

Podio API Reference: https://developers.podio.com/doc/calendar/get-global-calendar-as-ical-22513

public GetGlobalCalendarAsiCal ( int userId, string token ) : Task
userId int
token string
return Task

GetSpaceCalendar() public method

Returns all items and tasks that the user have access to in the given space. Tasks with reference to other spaces are not returned or tasks with no reference.

Podio API Reference: https://developers.podio.com/doc/calendar/get-space-calendar-22459

public GetSpaceCalendar ( int spaceId, System.DateTime dateFrom, System.DateTime dateTo, int priority = null ) : Task>
spaceId int
dateFrom System.DateTime The date to return events from
dateTo System.DateTime The date to search to
priority int The minimum priority for the events to return Default value: 1
return Task>

GetSpaceCalendarAsiCal() public method

Returns the space calendar in the iCal format 90 days into the future. The CalendarCode / Token can retrieved by getting the user status.

Podio API Reference: https://developers.podio.com/doc/calendar/get-space-calendar-as-ical-22514

public GetSpaceCalendarAsiCal ( int spaceId, int userId, string token ) : Task
spaceId int
userId int
token string
return Task

GetTaskCalendarAsiCal() public method

Returns the calendar for the given task in the iCal format.

Podio API Reference: https://developers.podio.com/doc/calendar/get-task-calendar-as-ical-10195650

public GetTaskCalendarAsiCal ( int taskId ) : Task
taskId int
return Task

UpdateCalendarEvent() public method

public UpdateCalendarEvent ( int uid, System.DateTime startDateTime, System.DateTime endDateTime ) : Task
uid int
startDateTime System.DateTime
endDateTime System.DateTime
return Task