Update Calendar Event by ID

PUT {{url}}/{{tenantName}}/{{instanceName}}/calendar/events/:eventId

  1. HTTP Method: PUT
  2. HTTP URL: https://api.live.welkincloud.io/gh/sb-demo/calendar/events/2dfbd113-5282-4f70-b456-d8cf7ecb5573

Event required fields:

  • startDateTime
  • endDateTime
  • hostId
  • participants
  • participants.participantId
  • participants.participantRole

Request Body

{"id"=>"b68e32f6-0b2d-4074-94f3-308ded972ea0", "createdBy"=>"9565d236-f654-4116-bfb4-c10a5e840a9c", "createdAt"=>"2021-06-11T18:02:48.115Z", "updatedBy"=>"9565d236-f654-4116-bfb4-c10a5e840a9c", "updatedAt"=>"2021-06-11T18:08:58.473Z", "externalId"=>"b", "externalIdUpdatedAt"=>"2021-06-11T18:08:58.471Z", "eventTitle"=>"Weekly Appointment with Jack", "eventDescription"=>"", "startDateTime"=>"2020-01-15T14:00:00.000Z", "endDateTime"=>"2020-01-15T16:00:00.000Z", "allDayEvent"=>false, "eventType"=>"APPOINTMENT", "eventStatus"=>"SCHEDULED", "eventMode"=>"IN-PERSON", "eventColor"=>"Green", "hostId"=>"301b2895-cbf0-4cac-b4cf-1d082faee95c", "additionalInfo"=>{"remarks"=>"", "location"=>"", "attachment"=>""}, "participants"=>[{"id"=>"fc79f85e-fefe-4d11-8e3f-27fc89ad1791", "participantId"=>"301b2895-cbf0-4cac-b4cf-1d082faee95c", "participantRole"=>"psm", "participationStatus"=>"", "attended"=>false}]}