NAME
Kernel::WebApp::Controller::API::Agent::Calendar::Appointment::Role::ProvidesCreateUpdate – Role for create / update calendar appointments.
PUBLIC INTERFACE
has AppointmentID
Attribute that holds the current appointment id.
has EndpointMode
Attribute that holds the current endpoint mode (create or update).
requires _BuildEndpointMode
Every endpoint that consumes this role, must implement a method _BuildEndpointMode
, this provides the information which action the endpoint is performing.
Possible values: Create or Update.
DynamicFieldSet()
Sets dynamic fields for calendar appointments.
my $True = $Self->DynamicFieldSet(
DynamicFields => {
FieldName1 => 'Value1',
FieldName2 => 'Value2',
},
AppointmentID => 123,
);
PRIVATE INTERFACE
_BuildAppointmentID()
Initializes the attribute AppointmentID
.