Update Appointment
PUT https://services.leadconnectorhq.com/calendars/events/appointments/{eventId}
Update appointment by ID
Request
Security: Bearer Auth
Utiliza el Access Token generado con tipo de usuario Subcuenta o el Token de Integración Privada de la Subcuenta en PowerLeads. Proporciona tu token Bearer en el encabezado Authorization al realizar solicitudes a recursos protegidos.
Example: Authorization: Bearer 123
Path Parameters
eventId
Event Id or Instance id. For recurring appointments send masterEventId to modify original series.
Examples: ocQHyuzHvysMo5N5VsXc ocQHyuzHvysMo5N5VsXc_1729821600000_1800
string required Event Id or Instance id. For recurring appointments send masterEventId to modify original series.
Examples: ocQHyuzHvysMo5N5VsXc ocQHyuzHvysMo5N5VsXc_1729821600000_1800
Headers
Authorization
Access Token
Example: Bearer 9c48df2694a849b6089f9d0d3513efe
string required Access Token
Example: Bearer 9c48df2694a849b6089f9d0d3513efe
Version
API Version
Allowed value: 2021-04-15
string required API Version
Allowed value: 2021-04-15
Body
title
Title
Example: Test Event
stringTitle
Example: Test Event
meetingLocationType
Meeting location type.
Example: custom
stringMeeting location type.
- If
addressis provided in the request body, the meetingLocationType defaults to custom.
Example: custom
meetingLocationId
The unique identifier for the meeting location.
stringThe unique identifier for the meeting location.
- This value can be found in
calendar.locationConfigurationsorcalendar.teamMembers[].locationConfigurations
overrideLocationConfig
Flag to override location config
booleanFlag to override location config
- false - If only
meetingLocationIdis provided - true - If only
meetingLocationTypeis provided
appointmentStatus
Allowed values: new confirmed cancelled showed noshow invalid
Example: confirmed
stringAllowed values: new confirmed cancelled showed noshow invalid
Example: confirmed
assignedUserId
Assigned User Id
Example: 0007BWpSzSwfiuSl0tR2
stringAssigned User Id
Example: 0007BWpSzSwfiuSl0tR2
address
Appointment Address
Example: Zoom
stringAppointment Address
Example: Zoom
ignoreDateRange
If set to true, the minimum scheduling notice and date range would be ignored
Example: false
booleanIf set to true, the minimum scheduling notice and date range would be ignored
Example: false
toNotify
If set to false, the automations will not run
Example: false
booleanIf set to false, the automations will not run
Example: false
ignoreFreeSlotValidation
If true the time slot validation would be avoided for any appointment creation (even the ignoreDateRange)
Example: true
booleanIf true the time slot validation would be avoided for any appointment creation (even the ignoreDateRange)
Example: true
rrule
RRULE as per the iCalendar (RFC 5545) specification for recurring events. DTSTART is not required, instance ids are calculated on the basis of startTime of the event. The rrule only be applied if ignoreFreeSlotValidation is true.
Examples: RRULE:FREQ=DAILY;INTERVAL=1;COUNT=5 RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20210623T043000Z EXDATE:20211105T040000Z,20211105T040000Z
stringRRULE as per the iCalendar (RFC 5545) specification for recurring events. DTSTART is not required, instance ids are calculated on the basis of startTime of the event. The rrule only be applied if ignoreFreeSlotValidation is true.
Examples: RRULE:FREQ=DAILY;INTERVAL=1;COUNT=5 RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20210623T043000Z EXDATE:20211105T040000Z,20211105T040000Z
calendarId
Calendar Id
Example: CVokAlI8fgw4WYWoCtQz
stringCalendar Id
Example: CVokAlI8fgw4WYWoCtQz
startTime
Start Time
Example: 2021-06-23T03:30:00+05:30
stringStart Time
Example: 2021-06-23T03:30:00+05:30
endTime
End Time
Example: 2021-06-23T04:30:00+05:30
stringEnd Time
Example: 2021-06-23T04:30:00+05:30
Responses
Successful response 200
Response Body
calendarId
Calendar Id
Example: CVokAlI8fgw4WYWoCtQz
string requiredCalendar Id
Example: CVokAlI8fgw4WYWoCtQz
locationId
Location Id
Example: C2QujeCh8ZnC7al2InWR
string requiredLocation Id
Example: C2QujeCh8ZnC7al2InWR
contactId
Contact Id
Example: 0007BWpSzSwfiuSl0tR2
string requiredContact Id
Example: 0007BWpSzSwfiuSl0tR2
startTime
Start Time
Example: 2021-06-23T03:30:00+05:30
stringStart Time
Example: 2021-06-23T03:30:00+05:30
endTime
End Time
Example: 2021-06-23T04:30:00+05:30
stringEnd Time
Example: 2021-06-23T04:30:00+05:30
title
Title
Example: Test Event
stringTitle
Example: Test Event
meetingLocationType
Meeting Location Type
Default: default Example: custom
stringMeeting Location Type
Default: default Example: custom
appointmentStatus
Allowed values: new confirmed cancelled showed noshow invalid
Example: confirmed
stringAllowed values: new confirmed cancelled showed noshow invalid
Example: confirmed
assignedUserId
Assigned User Id
Example: 0007BWpSzSwfiuSl0tR2
stringAssigned User Id
Example: 0007BWpSzSwfiuSl0tR2
address
Appointment Address
Example: Zoom
stringAppointment Address
Example: Zoom
isRecurring
true if the event is recurring otherwise false
Example: true
booleantrue if the event is recurring otherwise false
Example: true
rrule
RRULE as per the iCalendar (RFC 5545) specification for recurring events
Examples: RRULE:FREQ=DAILY;INTERVAL=1;COUNT=5 RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20210623T043000Z EXDATE:20211105T040000Z,20211105T040000Z
stringRRULE as per the iCalendar (RFC 5545) specification for recurring events
Examples: RRULE:FREQ=DAILY;INTERVAL=1;COUNT=5 RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20210623T043000Z EXDATE:20211105T040000Z,20211105T040000Z
id
Id
Example: 0TkCdp9PfvLeWKYRRvIz
string requiredId
Example: 0TkCdp9PfvLeWKYRRvIz
Request Sample: Shell / cURL
curl --request PUT \ --url https://services.leadconnectorhq.com/calendars/events/appointments/ocQHyuzHvysMo5N5VsXc \ --header 'Accept: application/json' \ --header 'Authorization: Bearer 123' \ --header 'Content-Type: application/json' \ --header 'Version: 2021-04-15' \ --data '{ "title": "Test Event", "meetingLocationType": "custom", "meetingLocationId": "default", "overrideLocationConfig": true, "appointmentStatus": "new", "assignedUserId": "0007BWpSzSwfiuSl0tR2", "address": "Zoom", "ignoreDateRange": false, "toNotify": false, "ignoreFreeSlotValidation": true, "rrule": "RRULE:FREQ=DAILY;INTERVAL=1;COUNT=5", "calendarId": "CVokAlI8fgw4WYWoCtQz", "startTime": "2021-06-23T03:30:00+05:30", "endTime": "2021-06-23T04:30:00+05:30"}'
Response Example
{ "calendarId": "CVokAlI8fgw4WYWoCtQz", "locationId": "C2QujeCh8ZnC7al2InWR", "contactId": "0007BWpSzSwfiuSl0tR2", "startTime": "2021-06-23T03:30:00+05:30", "endTime": "2021-06-23T04:30:00+05:30", "title": "Test Event", "meetingLocationType": "default", "appointmentStatus": "new", "assignedUserId": "0007BWpSzSwfiuSl0tR2", "address": "Zoom", "isRecurring": "true", "rrule": "RRULE:FREQ=DAILY;INTERVAL=1;COUNT=5", "id": "0TkCdp9PfvLeWKYRRvIz"}