title Get Event Details
// Styling participants with background colors is an experimental feature.
// This feature is available for users to test and provide feedback.
@Actor Client #FFEBE6
@Control EventsServiceResource#0747A6
@EC2  JobsTasks #E3FCEF
@RDS Database #007654

 @Starter(Client)
//`Get/getEventDetails`
EventsServiceResource.get(getEventDetails) {
  Database."Get Database Connection" 
  EventsServiceResource."eventId passed as part of Query Param"
  //`@params Connection, getEventDetails,eventId `
  EventsServiceImpl.getEventDetails{
    eventNotesList."eventId"{
      Database.eventNotesList{
        EventsServiceImpl."Return eventNotesList"
      }  

EventDetails."eventId"{
      Database.getEventById{
        EventsServiceImpl."Return eventNotesList"
      }      
    }
    JobsTasks."Bypass job permission while entering account details manually to new job"
    JobsTasks."New/Edit Job" {
      Database."Add Job history and Tasks"
    }
    return EventDetailsDTO
  }
  return EventDetailsDTO
}