Calendar Event Registration Utility methods for scripted widgets
Properties
Name | Access | Type | Description |
---|---|---|---|
Current | Read | EventRegistration | Current |
Methods
Cancel
Velocity
#set($eventRegistrationResponse = $calendar_v1_registrations.Cancel($token))
JavaScript
var eventRegistrationResponse = calendar_v1_registrations.Cancel(token);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
token | Guid | Token | Required |
Returns
Confirm
Velocity
#set($eventRegistrationResponse = $calendar_v1_registrations.Confirm($token))
JavaScript
var eventRegistrationResponse = calendar_v1_registrations.Confirm(token);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
token | Guid | Token | Required |
Returns
Create
Velocity
#set($eventRegistrationResponse = $calendar_v1_registrations.Create($eventId, "%{ Email = $emailArg, FirstName = $firstNameArg, LastName = $lastNameArg, Status = $statusArg, UserId = $userIdArg }"))
JavaScript
var eventRegistrationResponse = calendar_v1_registrations.Create(eventId, { Email: emailArg, FirstName: firstNameArg, LastName: lastNameArg, Status: statusArg, UserId: userIdArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
eventId | Int32 | Event Id | Required | ||
String | Optional | ||||
FirstName | String | First Name | Optional | ||
LastName | String | Last Name | Optional | ||
Status | String | Status | Optional | Cancelled, Confirmed, Invited, NotApproved | |
UserId | Int32 | User Id | Optional |
Returns
Get
Get Overload 1
Velocity
#set($eventRegistrationResponse = $calendar_v1_registrations.Get($eventId, $userId))
JavaScript
var eventRegistrationResponse = calendar_v1_registrations.Get(eventId, userId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
eventId | Int32 | Event Id | Required | ||
userId | Int32 | User Id | Required |
Get Overload 2
Velocity
#set($eventRegistrationResponse = $calendar_v1_registrations.Get($token))
JavaScript
var eventRegistrationResponse = calendar_v1_registrations.Get(token);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
token | Guid | Token | Required |
Returns
List
Velocity
#set($pagedListResponse = $calendar_v1_registrations.List($eventId, "%{ }"))
JavaScript
var pagedListResponse = calendar_v1_registrations.List(eventId, { });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
eventId | Int32 | Event Id | Required |
Returns
Show
Velocity
#set($eventRegistrationResponse = $calendar_v1_registrations.Show($eventId, $email))
JavaScript
var eventRegistrationResponse = calendar_v1_registrations.Show(eventId, email);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
eventId | Int32 | Event Id | Required | ||
String | Required |
Returns
Update
Velocity
#set($eventRegistrationResponse = $calendar_v1_registrations.Update($token, "%{ Email = $emailArg, FirstName = $firstNameArg, LastName = $lastNameArg, Status = $statusArg, UserId = $userIdArg }"))
JavaScript
var eventRegistrationResponse = calendar_v1_registrations.Update(token, { Email: emailArg, FirstName: firstNameArg, LastName: lastNameArg, Status: statusArg, UserId: userIdArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
token | Guid | Token | Required | ||
String | Optional | ||||
FirstName | String | First Name | Optional | ||
LastName | String | Last Name | Optional | ||
Status | String | Status | Optional | Cancelled, Confirmed, Invited, NotApproved | |
UserId | Int32 | User Id | Optional |