DELETE api/activities/clear-recurring/{id}?occurrenceDate={occurrenceDate}

Delete an occurrence of a recurring Activity.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Recurring Activity Id

globally unique identifier

Required

occurrenceDate

The date of the occurrence. Parameter must be formatted in the K-API default date format.

string

Required

Body Parameters

The history record that will be created

History
NameDescriptionTypeAdditional information
Id

SQL Column Name: [HISTORYID]

globally unique identifier

None.

Regarding

SQL Column Name: [REGARDING]

string

None.

Duration

SQL Column Name: [DURATION]

string

None.

OutlookID

string

None.

HistoryTypeID

SQL Column Name: [HISTORYTYPEID]

integer

None.

HistoryType

HistoryType

None.

Attachment

Attachment

None.

IsPrivate

boolean

None.

ManageUserId

globally unique identifier

None.

EditDate

SQL Column Name: [EDIT_DATE]

date

None.

CreateDate

SQL Column Name: [CREATE_DATE]

date

None.

StartTime

SQL Column Name: [START_DATE_TIME]

date

None.

EndTime

SQL Column Name: [END_DATE_TIME]

date

None.

Details

SQL Column Name: [DETAILS]

string

None.

LinkedEntities

LinkedEntities

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "f74e8da7-8533-4cd6-af7d-0b3fe87e6aff",
  "Regarding": "sample string 2",
  "Duration": "sample string 3",
  "OutlookID": "sample string 4",
  "HistoryTypeID": 5,
  "HistoryType": {
    "Name": "sample string 1",
    "HistoryTypeId": 2,
    "Description": "sample string 3",
    "ActivityTypeID": "sample string 4",
    "ActivityTypeName": "sample string 5",
    "IsActive": true,
    "IsCustom": true,
    "IsDefault": true,
    "IsUserRecordable": true
  },
  "Attachment": {
    "DisplayName": "sample string 1",
    "FileSize": 2.1,
    "LastModified": "2026-07-01T00:04:15Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  "IsPrivate": true,
  "ManageUserId": "fb6cad83-0dba-4d8a-a916-3e9dbcb0124b",
  "EditDate": "2026-07-01T00:04:15Z",
  "CreateDate": "2026-07-01T00:04:15Z",
  "StartTime": "2026-07-01T00:04:15Z",
  "EndTime": "2026-07-01T00:04:15Z",
  "Details": "sample string 12",
  "LinkedEntities": {
    "Contacts": [
      "707d41ab-0f3d-4605-a59b-a6d26b1367f7",
      "56044f50-ab48-4e0d-b248-ed8ee675a94f"
    ],
    "Companies": [
      "902a3989-617c-496a-934d-f4c2b2ae30c3",
      "148bfef8-c906-4d7d-bb38-20c1de3bc9cb"
    ],
    "Groups": [
      "3ae10640-79b6-4986-829d-84947026ab46",
      "2888697a-5c31-4941-910b-500b22f1a6f3"
    ],
    "Opportunities": [
      "5992fd56-cdae-4c25-ad52-462a0a77a424",
      "45321d82-68b2-4cb4-ba0c-dd8a393d5dc1"
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns the Id of the history record

globally unique identifier

Response Formats

application/json, text/json

Sample:
"8929aa8b-a496-48bf-ad2a-f96f84931d20"