Retrieves a page of Events owned by the currently authenticated or impersonated user, excluding Drafts, Deleted and Archived
Namespace:
RainWorx.FrameWorx.MVC.ControllersAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public JsonResult GetMyEvents( int? page, int? pageSize, bool? excludeClosed, bool? includeDrafts )
Parameters
- page
- Type: SystemNullableInt32
0-based page index - pageSize
- Type: SystemNullableInt32
the maximum results to return - excludeClosed
- Type: SystemNullableBoolean
optional parameter to limit results to active/preview events - includeDrafts
- Type: SystemNullableBoolean
optional parameter to include drafts events in list
Return Value
Type: JsonResultJSON encoded result: { PageCount = n, Items = [ { EventID = n1, EventTitle = "x1", EndDTTM = "d1", Status = "s1" }, { EventID = n2, EventTitle = "x2", EndDTTM = "d2", Status = "s2" }, { ... } ] }
See Also