You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > RealTimeController Class > GetMyEvents Method

RealTimeControllerGetMyEvents Method

AuctionWorx 3.5 API
Retrieves a page of Events owned by the currently authenticated or impersonated user, excluding Drafts, Deleted and Archived

Namespace:  RainWorx.FrameWorx.MVC.Controllers
Assembly:  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: JsonResult
JSON encoded result: { PageCount = n, Items = [ { EventID = n1, EventTitle = "x1", EndDTTM = "d1", Status = "s1" }, { EventID = n2, EventTitle = "x2", EndDTTM = "d2", Status = "s2" }, { ... } ] }
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.