YM REST Services

<back to all web services

EventSessionGroups

Requires Authentication
Requires any of the roles:admin, oauthadmin
The following routes are available for this service:
GET/Ams/{ClientID}/Event/{EventId}/EventSessionGroupsReturn a list of session groups linked to an event.
PUT/Ams/{ClientID}/Event/{EventId}/EventSessionGroupsUpdate a given event session group.
POST/Ams/{ClientID}/Event/{EventId}/EventSessionGroupsCreate a new event session group.
GET/Ams/{ClientID}/Event/{EventId}/EventSessionGroups/{SessionGroupId}Return the details for a given event sessions group.
DELETE/Ams/{ClientID}/Event/{EventId}/EventSessionGroups/{SessionGroupId}Delete a given event session group.
EventSessionGroups Parameters:
NameParameterData TypeRequiredDescription
SessionGroupIdpathint?No
EventIdpathintNo
NamebodystringNo
SingleSelectbodyboolNo
ExpandOnRegistrationbodyboolNo
TypebodySessionGroupTypeNo
SessionsbodyList<EventSessions>No
OrdinalbodyintNo
BaseDto Parameters:
NameParameterData TypeRequiredDescription
UsingRedisformboolNo
AppInitTimeformDateTimeNo
ServerIDformstringNo
BaseSharedDto Parameters:
NameParameterData TypeRequiredDescription
ClientIDformintNo
ResponseStatusformResponseStatusNo
BypassCacheformboolNo
DateCachedformDateTimeNo
DeviceformDeviceNo
EventSessions Parameters:
NameParameterData TypeRequiredDescription
SessionIdformint?No
EventIdformintNo
DateCreatedformDateTimeNo
NameformstringNo
PresenterformstringNo
StartDateformDateTime?No
StartTimeformstringNo
EndDateformDateTime?No
EndTimeformstringNo
AllowOverlapformboolNo
MaxRegistrantsformint?No
DescriptionformstringNo
RegistrantCountformint?No
NonCanceledCountformint?No
AllowCEUsformbool?No
TicketsformList<int>No
ChargeForSessionformbool?No
SessionGroupIdformint?No
SortByNameformboolNo
EventSessionsResponse Parameters:
NameParameterData TypeRequiredDescription
SessionsformList<EventSessions>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Ams/{ClientID}/Event/{EventId}/EventSessionGroups HTTP/1.1 
Host: ws.yourmembership.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	SessionGroupId: 0,
	EventId: 0,
	Name: String,
	SingleSelect: False,
	ExpandOnRegistration: False,
	Type: ByName,
	Sessions: 
	[
		{
			SessionId: 0,
			EventId: 0,
			DateCreated: 0001-01-01,
			Name: String,
			Presenter: String,
			StartDate: 0001-01-01,
			StartTime: String,
			EndDate: 0001-01-01,
			EndTime: String,
			AllowOverlap: False,
			MaxRegistrants: 0,
			Description: String,
			RegistrantCount: 0,
			NonCanceledCount: 0,
			AllowCEUs: False,
			Tickets: 
			[
				0
			],
			ChargeForSession: False,
			SessionGroupId: 0,
			SortByName: False,
			UsingRedis: True,
			AppInitTime: 2024-05-03T09:24:49.0490081-04:00,
			ServerID: WS-4-69-031,
			ClientID: 0,
			ResponseStatus: 
			{
				ErrorCode: String,
				Message: String,
				StackTrace: String,
				Errors: 
				[
					{
						ErrorCode: String,
						FieldName: String,
						Message: String,
						Meta: 
						{
							String: String
						}
					}
				],
				Meta: 
				{
					String: String
				}
			},
			BypassCache: False,
			DateCached: 2024-05-03T10:14:26.5599421-04:00,
			Device: Desktop
		}
	],
	Ordinal: 0,
	UsingRedis: True,
	AppInitTime: 2024-05-03T09:24:49.0490081-04:00,
	ServerID: WS-4-69-031,
	ClientID: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	BypassCache: False,
	DateCached: 2024-05-03T10:14:26.5599421-04:00,
	Device: Desktop
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Sessions: 
	[
		{
			SessionId: 0,
			EventId: 0,
			DateCreated: 0001-01-01,
			Name: String,
			Presenter: String,
			StartDate: 0001-01-01,
			StartTime: String,
			EndDate: 0001-01-01,
			EndTime: String,
			AllowOverlap: False,
			MaxRegistrants: 0,
			Description: String,
			RegistrantCount: 0,
			NonCanceledCount: 0,
			AllowCEUs: False,
			Tickets: 
			[
				0
			],
			ChargeForSession: False,
			SessionGroupId: 0,
			SortByName: False,
			UsingRedis: True,
			AppInitTime: 2024-05-03T09:24:49.0490081-04:00,
			ServerID: WS-4-69-031,
			ClientID: 0,
			ResponseStatus: 
			{
				ErrorCode: String,
				Message: String,
				StackTrace: String,
				Errors: 
				[
					{
						ErrorCode: String,
						FieldName: String,
						Message: String,
						Meta: 
						{
							String: String
						}
					}
				],
				Meta: 
				{
					String: String
				}
			},
			BypassCache: False,
			DateCached: 2024-05-03T10:14:26.5599421-04:00,
			Device: Desktop
		}
	],
	SessionId: 0,
	EventId: 0,
	DateCreated: 0001-01-01,
	Name: String,
	Presenter: String,
	StartDate: 0001-01-01,
	StartTime: String,
	EndDate: 0001-01-01,
	EndTime: String,
	AllowOverlap: False,
	MaxRegistrants: 0,
	Description: String,
	RegistrantCount: 0,
	NonCanceledCount: 0,
	AllowCEUs: False,
	Tickets: 
	[
		0
	],
	ChargeForSession: False,
	SessionGroupId: 0,
	SortByName: False,
	UsingRedis: True,
	AppInitTime: 2024-05-03T09:24:49.0490081-04:00,
	ServerID: WS-4-69-031,
	ClientID: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	BypassCache: False,
	DateCached: 2024-05-03T10:14:26.5599421-04:00,
	Device: Desktop
}