Calendar Events
API for calendar event management
Create a calendar event
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/crm/calendar/events" \ -H "Content-Type: application/json" \ -d '{ "allDay": true, "attendees": [ { "email": "string", "status": "PENDING" } ], "category": "DEFAULT", "endTime": "2019-08-24T14:15:22Z", "reminders": [ { "minutesBefore": 0, "type": "NOTIFICATION" } ], "startTime": "2019-08-24T14:15:22Z", "title": "string", "visibility": "PRIVATE" }'{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customer": {
"email": "string",
"id": "string",
"name": "string",
"phone": "string"
},
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"lead": {
"email": "string",
"firstName": "string",
"id": "string",
"lastName": "string"
},
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunity": {
"id": "string",
"name": "string",
"status": "string"
},
"opportunityId": "string",
"outlookEventId": "string",
"owner": {
"displayName": "string",
"id": "string",
"username": "string"
},
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get events by customer
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/by-customer/string"[
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"externalCalendarId": "string",
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunityId": "string",
"outlookEventId": "string",
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get events by date range
In: header
Query Parameters
date-timedate-timeResponse Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/by-date-range?start=2019-08-24T14%3A15%3A22Z&end=2019-08-24T14%3A15%3A22Z"[
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customer": {
"email": "string",
"id": "string",
"name": "string",
"phone": "string"
},
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"lead": {
"email": "string",
"firstName": "string",
"id": "string",
"lastName": "string"
},
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunity": {
"id": "string",
"name": "string",
"status": "string"
},
"opportunityId": "string",
"outlookEventId": "string",
"owner": {
"displayName": "string",
"id": "string",
"username": "string"
},
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get events by date range for a specific owner
In: header
Path Parameters
Query Parameters
date-timedate-timeResponse Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/by-date-range/string?start=2019-08-24T14%3A15%3A22Z&end=2019-08-24T14%3A15%3A22Z"[
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customer": {
"email": "string",
"id": "string",
"name": "string",
"phone": "string"
},
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"lead": {
"email": "string",
"firstName": "string",
"id": "string",
"lastName": "string"
},
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunity": {
"id": "string",
"name": "string",
"status": "string"
},
"opportunityId": "string",
"outlookEventId": "string",
"owner": {
"displayName": "string",
"id": "string",
"username": "string"
},
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get events by opportunity
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/by-opportunity/string"[
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"externalCalendarId": "string",
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunityId": "string",
"outlookEventId": "string",
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Download Csv_ Calendar Event
In: header
Query Parameters
0int3220int32Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/csv-export""string"{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Delete a list of entities by their IDs
In: header
Query Parameters
Response Body
application/json
application/json
application/json
curl -X DELETE "http://localhost:18080/api/v1/crm/calendar/events/delete-list?ids=string"{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Dynamic Search_ Calendar Event
In: header
Query Parameters
0int3220int32Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/dynamic-search"{
"content": [
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"externalCalendarId": "string",
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunityId": "string",
"outlookEventId": "string",
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Dynamic Search Post_ Calendar Event
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/crm/calendar/events/dynamic-search" \ -H "Content-Type: application/json" \ -d '{ "filters": { "property1": null, "property2": null }, "page": 0, "search": [ "string" ], "size": 0, "sort": [ { "ascending": true, "field": "string" } ] }'{
"content": [
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"externalCalendarId": "string",
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunityId": "string",
"outlookEventId": "string",
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Find by list of ids in current tenant
In: header
Query Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/find?ids=string"[
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"externalCalendarId": "string",
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunityId": "string",
"outlookEventId": "string",
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Find all for current tenant
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/find-all"[
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"externalCalendarId": "string",
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunityId": "string",
"outlookEventId": "string",
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Find a list of entities by their IDs
In: header
Query Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/find-list"[
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"externalCalendarId": "string",
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunityId": "string",
"outlookEventId": "string",
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Find by id in current tenant
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/find/string"{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"externalCalendarId": "string",
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunityId": "string",
"outlookEventId": "string",
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get page by page number and size with optional sorting based on field to sortBy and direction
In: header
Query Parameters
int32int32"ASC" | "DESC"Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/page"{
"content": [
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"externalCalendarId": "string",
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunityId": "string",
"outlookEventId": "string",
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get today's events
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/today"[
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customer": {
"email": "string",
"id": "string",
"name": "string",
"phone": "string"
},
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"lead": {
"email": "string",
"firstName": "string",
"id": "string",
"lastName": "string"
},
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunity": {
"id": "string",
"name": "string",
"status": "string"
},
"opportunityId": "string",
"outlookEventId": "string",
"owner": {
"displayName": "string",
"id": "string",
"username": "string"
},
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get upcoming events
In: header
Query Parameters
10int32Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/upcoming"[
{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customer": {
"email": "string",
"id": "string",
"name": "string",
"phone": "string"
},
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"lead": {
"email": "string",
"firstName": "string",
"id": "string",
"lastName": "string"
},
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunity": {
"id": "string",
"name": "string",
"status": "string"
},
"opportunityId": "string",
"outlookEventId": "string",
"owner": {
"displayName": "string",
"id": "string",
"username": "string"
},
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get enriched calendar event
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/crm/calendar/events/string"{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customer": {
"email": "string",
"id": "string",
"name": "string",
"phone": "string"
},
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"lead": {
"email": "string",
"firstName": "string",
"id": "string",
"lastName": "string"
},
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunity": {
"id": "string",
"name": "string",
"status": "string"
},
"opportunityId": "string",
"outlookEventId": "string",
"owner": {
"displayName": "string",
"id": "string",
"username": "string"
},
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Update a calendar event
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "http://localhost:18080/api/v1/crm/calendar/events/string" \ -H "Content-Type: application/json" \ -d '{ "allDay": true, "attendees": [ { "email": "string", "status": "PENDING" } ], "category": "DEFAULT", "endTime": "2019-08-24T14:15:22Z", "reminders": [ { "minutesBefore": 0, "type": "NOTIFICATION" } ], "startTime": "2019-08-24T14:15:22Z", "title": "string", "visibility": "PRIVATE" }'{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customer": {
"email": "string",
"id": "string",
"name": "string",
"phone": "string"
},
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"lead": {
"email": "string",
"firstName": "string",
"id": "string",
"lastName": "string"
},
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunity": {
"id": "string",
"name": "string",
"status": "string"
},
"opportunityId": "string",
"outlookEventId": "string",
"owner": {
"displayName": "string",
"id": "string",
"username": "string"
},
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Delete by id in current tenant
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X DELETE "http://localhost:18080/api/v1/crm/calendar/events/string"{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Add a comment to an entity
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/crm/calendar/events/string/comment" \ -H "Content-Type: application/json" \ -d 'string'{
"allDay": true,
"attendees": [
{
"email": "string",
"name": "string",
"status": "PENDING",
"userId": "string"
}
],
"category": "DEFAULT",
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customer": {
"email": "string",
"id": "string",
"name": "string",
"phone": "string"
},
"customerId": "string",
"description": "string",
"endTime": "2019-08-24T14:15:22Z",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"googleEventId": "string",
"id": "string",
"lastSyncedAt": "2019-08-24T14:15:22Z",
"lead": {
"email": "string",
"firstName": "string",
"id": "string",
"lastName": "string"
},
"leadId": "string",
"location": "string",
"onlineMeetingUrl": "string",
"opportunity": {
"id": "string",
"name": "string",
"status": "string"
},
"opportunityId": "string",
"outlookEventId": "string",
"owner": {
"displayName": "string",
"id": "string",
"username": "string"
},
"ownerId": "string",
"reminders": [
{
"minutesBefore": 0,
"type": "NOTIFICATION"
}
],
"startTime": "2019-08-24T14:15:22Z",
"syncSource": "GOOGLE",
"tenantId": "string",
"title": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"visibility": "PRIVATE"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}