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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
Content-Length: length

{"SessionGroupId":0,"EventId":0,"Name":"String","SingleSelect":false,"ExpandOnRegistration":false,"Type":"ByName","Sessions":[{"SessionId":0,"EventId":0,"DateCreated":"0001-01-01T00:00:00.0000000","Name":"String","Presenter":"String","StartDate":"0001-01-01T00:00:00.0000000","StartTime":"String","EndDate":"0001-01-01T00:00:00.0000000","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-03T03:23:20.3974153-04:00","ServerID":"WS-6-134-823","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-03T04:05:54.8551863-04:00","Device":"Desktop"}],"Ordinal":0,"UsingRedis":true,"AppInitTime":"2024-05-03T03:23:20.3974153-04:00","ServerID":"WS-6-134-823","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-03T04:05:54.8551863-04:00","Device":"Desktop"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Sessions":[{"SessionId":0,"EventId":0,"DateCreated":"0001-01-01T00:00:00.0000000","Name":"String","Presenter":"String","StartDate":"0001-01-01T00:00:00.0000000","StartTime":"String","EndDate":"0001-01-01T00:00:00.0000000","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-03T03:23:20.3974153-04:00","ServerID":"WS-6-134-823","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-03T04:05:54.8551863-04:00","Device":"Desktop"}],"SessionId":0,"EventId":0,"DateCreated":"0001-01-01T00:00:00.0000000","Name":"String","Presenter":"String","StartDate":"0001-01-01T00:00:00.0000000","StartTime":"String","EndDate":"0001-01-01T00:00:00.0000000","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-03T03:23:20.3974153-04:00","ServerID":"WS-6-134-823","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-03T04:05:54.8551863-04:00","Device":"Desktop"}