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: 2025-01-15T07:19:47.5165087-05:00,
ServerID: WS-6-56-398,
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: 2025-01-15T08:42:51.0714258-05:00,
Device: Desktop
}
],
Ordinal: 0,
UsingRedis: True,
AppInitTime: 2025-01-15T07:19:47.5165087-05:00,
ServerID: WS-6-56-398,
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: 2025-01-15T08:42:51.0714258-05: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: 2025-01-15T07:19:47.5165087-05:00,
ServerID: WS-6-56-398,
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: 2025-01-15T08:42:51.0714258-05: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: 2025-01-15T07:19:47.5165087-05:00,
ServerID: WS-6-56-398,
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: 2025-01-15T08:42:51.0870359-05:00,
Device: Desktop
}