curl --request PUT \
--url http://localhost:4000/v1/eventCalls/cancel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 123,
"cancelReason": "<string>"
}
'{
"data": {
"eventCall": {
"id": 123,
"eventId": 123,
"dateTime": "<string>",
"callId": 123,
"eventType": "UPCOMING",
"isSlotFree": true,
"overBooked": 123,
"totalOverBooked": 123,
"SettedClaim": {
"id": 123,
"claimStatus": "<string>",
"outcome": "<string>",
"user": {
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"profilePictureKey": "<string>",
"signedUrl": "<string>"
}
},
"deals": [
{
"id": 123,
"value": 123,
"time": "<string>",
"transactionType": "<string>",
"product": {
"id": 123,
"name": "<string>"
},
"Transaction": {
"id": 123
}
}
],
"deletedAt": "<string>",
"locationLink": "<string>",
"locationLinkInvitee": "<string>",
"cancelReason": "<string>",
"location": "<string>",
"isCalendarConnected": true,
"isZoomConnected": true,
"rescheduledBy": "<string>",
"rescheduleReason": "<string>",
"googleResponseStatus": "<string>",
"dateTimeUTC": "<string>",
"userId": 123,
"firstName": "<string>",
"lastName": "<string>",
"notes": "<string>",
"allowReschedule": true,
"cancelledBy": "<string>",
"email": "<string>",
"taskId": 123,
"task": [
{
"id": 123,
"completed": true,
"outcome": "<string>",
"noSaleReason": "<string>",
"objection": "<string>",
"notes": "<string>"
}
],
"contactId": 123,
"utm": [
{
"utmKey": "<string>",
"utmValue": "<string>"
}
],
"color": "<string>",
"name": "<string>",
"duration": 123,
"durationUnit": "<string>",
"linkPassword": "<string>",
"eventDeletedAt": "<string>",
"internalDescription": "<string>",
"linkPrefix": "<string>",
"previewId": "<string>",
"inviteeEmail": "<string>",
"inviteeName": "<string>",
"phoneNumber": "<string>",
"inviteTimeZone": "<string>",
"inviteeSecondaryEmail": "<string>",
"inviteeSecondaryPhone": "<string>",
"questions": [
{
"statement": "<string>",
"answer": "<string>"
}
],
"secondaryAnswers": [
{
"statement": "<string>",
"isSecondaryQuestion": true,
"answer": {
"inputType": "<string>",
"answer": "<string>",
"date": "<string>",
"userId": 123,
"number": 123,
"user": {
"firstName": "<string>",
"lastName": "<string>"
}
}
}
],
"callType": "<string>",
"userAvailabilityTimezone": "<string>",
"slotFreeEnabled": true,
"emailValidationResult": "<string>"
}
}
}Cancel a scheduled event call
curl --request PUT \
--url http://localhost:4000/v1/eventCalls/cancel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 123,
"cancelReason": "<string>"
}
'{
"data": {
"eventCall": {
"id": 123,
"eventId": 123,
"dateTime": "<string>",
"callId": 123,
"eventType": "UPCOMING",
"isSlotFree": true,
"overBooked": 123,
"totalOverBooked": 123,
"SettedClaim": {
"id": 123,
"claimStatus": "<string>",
"outcome": "<string>",
"user": {
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"profilePictureKey": "<string>",
"signedUrl": "<string>"
}
},
"deals": [
{
"id": 123,
"value": 123,
"time": "<string>",
"transactionType": "<string>",
"product": {
"id": 123,
"name": "<string>"
},
"Transaction": {
"id": 123
}
}
],
"deletedAt": "<string>",
"locationLink": "<string>",
"locationLinkInvitee": "<string>",
"cancelReason": "<string>",
"location": "<string>",
"isCalendarConnected": true,
"isZoomConnected": true,
"rescheduledBy": "<string>",
"rescheduleReason": "<string>",
"googleResponseStatus": "<string>",
"dateTimeUTC": "<string>",
"userId": 123,
"firstName": "<string>",
"lastName": "<string>",
"notes": "<string>",
"allowReschedule": true,
"cancelledBy": "<string>",
"email": "<string>",
"taskId": 123,
"task": [
{
"id": 123,
"completed": true,
"outcome": "<string>",
"noSaleReason": "<string>",
"objection": "<string>",
"notes": "<string>"
}
],
"contactId": 123,
"utm": [
{
"utmKey": "<string>",
"utmValue": "<string>"
}
],
"color": "<string>",
"name": "<string>",
"duration": 123,
"durationUnit": "<string>",
"linkPassword": "<string>",
"eventDeletedAt": "<string>",
"internalDescription": "<string>",
"linkPrefix": "<string>",
"previewId": "<string>",
"inviteeEmail": "<string>",
"inviteeName": "<string>",
"phoneNumber": "<string>",
"inviteTimeZone": "<string>",
"inviteeSecondaryEmail": "<string>",
"inviteeSecondaryPhone": "<string>",
"questions": [
{
"statement": "<string>",
"answer": "<string>"
}
],
"secondaryAnswers": [
{
"statement": "<string>",
"isSecondaryQuestion": true,
"answer": {
"inputType": "<string>",
"answer": "<string>",
"date": "<string>",
"userId": 123,
"number": 123,
"user": {
"firstName": "<string>",
"lastName": "<string>"
}
}
}
],
"callType": "<string>",
"userAvailabilityTimezone": "<string>",
"slotFreeEnabled": true,
"emailValidationResult": "<string>"
}
}
}